Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_dev_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.006827/0.006827, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001643/0.001643, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9023/0.9023, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3508, allocations: 80.91 MB / 0.6641 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004685/0.3555, allocations: 4.312 MB / 0.6684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1531/0.5086, allocations: 150.6 MB / 0.8154 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007201/0.5094, allocations: 19.88 kB / 0.8154 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.5099, allocations: 174.4 kB / 0.8156 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.5114, allocations: 0.4993 MB / 0.8161 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.5133, allocations: 0.8286 MB / 0.8169 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.5145, allocations: 1.277 MB / 0.8182 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.5154, allocations: 0.718 MB / 0.8189 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/0.5159, allocations: 498.2 kB / 0.8193 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.5165, allocations: 0.5055 MB / 0.8198 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.5166, allocations: 120 kB / 0.8199 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008233/0.5175, allocations: 0.5035 MB / 0.8204 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.5177, allocations: 303 kB / 0.8207 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.5182, allocations: 0.5673 MB / 0.8213 GB, free: 92 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.52, allocations: 1.65 MB / 0.8229 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.52, allocations: 7.984 kB / 0.8229 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.52, allocations: 3.938 kB / 0.8229 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.52, allocations: 0 / 0.8229 GB, free: 14.42 MB / 0.6544 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.002374/0.5224, allocations: 1.476 MB / 0.8243 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.5225, allocations: 8.031 kB / 0.8243 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.5226, allocations: 152 kB / 0.8245 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009511/0.5236, allocations: 200 kB / 0.8247 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.5248, allocations: 0.7737 MB / 0.8254 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.665e-05/0.5248, allocations: 70 kB / 0.8255 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.525, allocations: 88 kB / 0.8256 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.5266, allocations: 0.9847 MB / 0.8266 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.5267, allocations: 3.938 kB / 0.8266 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.5268, allocations: 44 kB / 0.8266 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.5268, allocations: 24 kB / 0.8266 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.5287, allocations: 1.163 MB / 0.8278 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.533, allocations: 2.702 MB / 0.8304 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.5344, allocations: 0.7666 MB / 0.8311 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.5349, allocations: 306.7 kB / 0.8314 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.677e-05/0.535, allocations: 32.61 kB / 0.8315 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008223/0.5358, allocations: 467.2 kB / 0.8319 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 2.295e-06/0.5358, allocations: 0 / 0.8319 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.003099/0.539, allocations: 1.153 MB / 0.833 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.5391, allocations: 196.5 kB / 0.8332 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.5398, allocations: 0.6215 MB / 0.8338 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.904e-05/0.5399, allocations: 49.69 kB / 0.8339 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.5402, allocations: 421 kB / 0.8343 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.5405, allocations: 277.6 kB / 0.8345 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.5407, allocations: 150.6 kB / 0.8347 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.5409, allocations: 382.8 kB / 0.8351 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.5414, allocations: 241.9 kB / 0.8353 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.542, allocations: 350.5 kB / 0.8356 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.5431, allocations: 0.5877 MB / 0.8362 GB, free: 440 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5431, allocations: 4 kB / 0.8362 GB, free: 436 kB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001943/0.5451, allocations: 0.8025 MB / 0.837 GB, free: 15.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5451, allocations: 7.75 kB / 0.837 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5451, allocations: 4 kB / 0.837 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/0.5457, allocations: 76.83 kB / 0.8371 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.5464, allocations: 155.8 kB / 0.8372 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.5485, allocations: 1.642 MB / 0.8388 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/0.5492, allocations: 83.42 kB / 0.8389 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.5492, allocations: 31.97 kB / 0.8389 GB, free: 13.47 MB / 0.67 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.0003848/0.5496, allocations: 264.6 kB / 0.8392 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.5498, allocations: 83.48 kB / 0.8393 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.5523, allocations: 1.089 MB / 0.8403 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.5523, allocations: 12 kB / 0.8403 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5523, allocations: 0 / 0.8403 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5524, allocations: 7.969 kB / 0.8403 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.5557, allocations: 2.006 MB / 0.8423 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5557, allocations: 0 / 0.8423 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/0.5564, allocations: 159.8 kB / 0.8425 GB, free: 9.777 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/0.5568, allocations: 68.8 kB / 0.8425 GB, free: 9.707 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.5569, allocations: 27.98 kB / 0.8425 GB, free: 9.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.5588, allocations: 1.654 MB / 0.8442 GB, free: 7.879 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5588, allocations: 3.938 kB / 0.8442 GB, free: 7.875 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.5608, allocations: 0.9828 MB / 0.8451 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.5612, allocations: 276.3 kB / 0.8454 GB, free: 6.582 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.5613, allocations: 20 kB / 0.8454 GB, free: 6.562 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.5619, allocations: 50.77 kB / 0.8455 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.5621, allocations: 72.83 kB / 0.8455 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.5621, allocations: 44.03 kB / 0.8456 GB, free: 6.402 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005792/0.5627, allocations: 467 kB / 0.846 GB, free: 5.953 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5627, allocations: 0 / 0.846 GB, free: 5.953 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008636/0.5636, allocations: 338.9 kB / 0.8463 GB, free: 5.621 MB / 0.67 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.003493/0.5671, allocations: 2.038 MB / 0.8483 GB, free: 3.73 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.5687, allocations: 0.7844 MB / 0.8491 GB, free: 2.938 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5688, allocations: 0 / 0.8491 GB, free: 2.938 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000929/0.5697, allocations: 0.516 MB / 0.8496 GB, free: 2.41 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.571, allocations: 279.1 kB / 0.8499 GB, free: 2.156 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.5822, allocations: 6.402 MB / 0.8561 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.5828, allocations: 1.046 MB / 0.8571 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008053/0.5836, allocations: 266.7 kB / 0.8574 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.5842, allocations: 399.3 kB / 0.8578 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of SimCode: time 8.11e-07/0.5843, allocations: 4 kB / 0.8578 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3156/0.8998, allocations: 21.59 MB / 0.8789 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.09, allocations: 8.938 kB / 0.8789 GB, free: 187.3 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)