Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003623/0.003623, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7139/0.7139, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 75.5 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1186, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005288/0.1239, allocations: 4.323 MB / 0.6634 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3787/0.5026, allocations: 150.6 MB / 0.8105 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.5032, allocations: 19.12 kB / 0.8105 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.5037, allocations: 181.2 kB / 0.8106 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.5049, allocations: 0.4921 MB / 0.8111 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.5063, allocations: 0.8356 MB / 0.8119 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008138/0.5072, allocations: 1.284 MB / 0.8132 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007536/0.5079, allocations: 0.698 MB / 0.8139 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.5084, allocations: 0.4913 MB / 0.8144 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.5088, allocations: 0.5059 MB / 0.8148 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.5089, allocations: 119.1 kB / 0.815 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005868/0.5095, allocations: 0.5061 MB / 0.8155 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.5098, allocations: 297.7 kB / 0.8157 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.5101, allocations: 0.5648 MB / 0.8163 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.5115, allocations: 1.664 MB / 0.8179 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5115, allocations: 7.688 kB / 0.8179 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5115, allocations: 0 / 0.8179 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.5115, allocations: 0 / 0.8179 GB, free: 9.508 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002009/0.5135, allocations: 1.472 MB / 0.8194 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.5135, allocations: 10.06 kB / 0.8194 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.5137, allocations: 147.8 kB / 0.8195 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.5145, allocations: 203.4 kB / 0.8197 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.5156, allocations: 0.7751 MB / 0.8205 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.5156, allocations: 70.78 kB / 0.8205 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.5157, allocations: 88.03 kB / 0.8206 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5172, allocations: 0.9887 MB / 0.8216 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5172, allocations: 6.031 kB / 0.8216 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.5173, allocations: 38.28 kB / 0.8216 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.5173, allocations: 22.88 kB / 0.8216 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.5189, allocations: 1.162 MB / 0.8228 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.5226, allocations: 2.697 MB / 0.8254 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.5238, allocations: 0.7709 MB / 0.8262 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.5243, allocations: 303.9 kB / 0.8265 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-05/0.5243, allocations: 34.86 kB / 0.8265 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007115/0.525, allocations: 457.6 kB / 0.8269 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 1.913e-06/0.5251, allocations: 0 / 0.8269 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.002707/0.5278, allocations: 1.161 MB / 0.8281 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/0.5279, allocations: 194.6 kB / 0.8282 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.5285, allocations: 0.6351 MB / 0.8289 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.5286, allocations: 36.11 kB / 0.8289 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.5289, allocations: 426.1 kB / 0.8293 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.529, allocations: 278.9 kB / 0.8296 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.5293, allocations: 149.2 kB / 0.8297 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5294, allocations: 384 kB / 0.8301 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.5298, allocations: 236.7 kB / 0.8303 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.5304, allocations: 356.9 kB / 0.8306 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009606/0.5313, allocations: 0.5948 MB / 0.8312 GB, free: 404 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5314, allocations: 0 / 0.8312 GB, free: 404 kB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001663/0.533, allocations: 0.796 MB / 0.832 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.5331, allocations: 12.33 kB / 0.832 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5331, allocations: 3.938 kB / 0.832 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.5336, allocations: 85.38 kB / 0.8321 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.5342, allocations: 153.4 kB / 0.8322 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.536, allocations: 1.632 MB / 0.8338 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.5366, allocations: 83.55 kB / 0.8339 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.5366, allocations: 32.34 kB / 0.834 GB, free: 14.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003023/0.537, allocations: 268 kB / 0.8342 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.5371, allocations: 87.59 kB / 0.8343 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.5393, allocations: 1.084 MB / 0.8353 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.5393, allocations: 14.28 kB / 0.8354 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.5393, allocations: 4 kB / 0.8354 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.5393, allocations: 3.984 kB / 0.8354 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.5422, allocations: 2.005 MB / 0.8373 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5423, allocations: 0 / 0.8373 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.5428, allocations: 157.2 kB / 0.8375 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.5432, allocations: 78.62 kB / 0.8376 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.5433, allocations: 23.48 kB / 0.8376 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.545, allocations: 1.663 MB / 0.8392 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.545, allocations: 0 / 0.8392 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.5467, allocations: 0.9797 MB / 0.8402 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.547, allocations: 276 kB / 0.8404 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5471, allocations: 19.44 kB / 0.8404 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.5477, allocations: 57.31 kB / 0.8405 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5478, allocations: 65.47 kB / 0.8406 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.5479, allocations: 32.02 kB / 0.8406 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004606/0.5484, allocations: 465.7 kB / 0.841 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5484, allocations: 0 / 0.841 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006639/0.549, allocations: 332.8 kB / 0.8413 GB, free: 9.059 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003029/0.5521, allocations: 2.041 MB / 0.8433 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.5535, allocations: 0.7921 MB / 0.8441 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5535, allocations: 0 / 0.8441 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00083/0.5543, allocations: 0.5141 MB / 0.8446 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.5555, allocations: 293.6 kB / 0.8449 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00967/0.5651, allocations: 6.39 MB / 0.8511 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.5657, allocations: 1.039 MB / 0.8521 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006673/0.5664, allocations: 262.8 kB / 0.8524 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.5669, allocations: 395.3 kB / 0.8528 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.5669, allocations: 4 kB / 0.8528 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06251/0.6294, allocations: 21.61 MB / 0.8739 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.03, allocations: 0 / 0.8739 GB, free: 8.652 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)