Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.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.Buildings.Components.Examples.HorizontalFinExample,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.Examples.HorizontalFinExample,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample",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.001083/0.001083, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7335/0.7335, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.88 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3788, allocations: 80.2 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.009593/0.3884, allocations: 8.494 MB / 0.5885 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.17/0.5584, allocations: 156.2 MB / 0.741 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.5602, allocations: 39.81 kB / 0.741 GB, free: 12.27 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Examples/HorizontalFinExample.mo:7:3-8:71:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5612, allocations: 356.4 kB / 0.7414 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.5639, allocations: 0.8898 MB / 0.7422 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.5667, allocations: 1.398 MB / 0.7436 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004614/0.5713, allocations: 5.209 MB / 0.7487 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003325/0.5747, allocations: 3.074 MB / 0.7517 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.5776, allocations: 2.086 MB / 0.7537 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.5798, allocations: 2.159 MB / 0.7558 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006938/0.5805, allocations: 0.5273 MB / 0.7564 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.5823, allocations: 1.105 MB / 0.7574 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000841/0.5831, allocations: 1.164 MB / 0.7586 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.5852, allocations: 2.232 MB / 0.7608 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005597/0.5908, allocations: 6.182 MB / 0.7668 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.5908, allocations: 4 kB / 0.7668 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5909, allocations: 0 / 0.7668 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001182/0.591, allocations: 0 / 0.7668 GB, free: 1.77 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: 937 * Number of variables: 937 Notification: Performance of Generate backend data structure: time 0.009169/0.6002, allocations: 4.602 MB / 0.7713 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6002, allocations: 8.031 kB / 0.7713 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006071/0.6008, allocations: 0.5058 MB / 0.7718 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009634/0.6105, allocations: 1.357 MB / 0.7731 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.6146, allocations: 2.386 MB / 0.7754 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004405/0.6151, allocations: 0.5126 MB / 0.7759 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008852/0.616, allocations: 360 kB / 0.7763 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.6265, allocations: 5.207 MB / 0.7814 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/0.6266, allocations: 7.938 kB / 0.7814 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003637/0.6269, allocations: 148 kB / 0.7815 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/0.627, allocations: 88 kB / 0.7816 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.639, allocations: 5.558 MB / 0.787 GB, free: 12.74 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/0.6669, allocations: 19.31 MB / 0.8059 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.6783, allocations: 4.457 MB / 0.8102 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00426/0.6826, allocations: 1.88 MB / 0.8121 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.6838, allocations: 1.093 MB / 0.8131 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.262/0.9458, allocations: 2.275 MB / 0.8154 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=259): time 5.851e-06/0.9458, allocations: 0 / 0.8154 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=259): time 0.01517/0.961, allocations: 5.82 MB / 0.821 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.9611, allocations: 215.8 kB / 0.8213 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/0.9643, allocations: 2.214 MB / 0.8234 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003694/0.9647, allocations: 72.94 kB / 0.8235 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009326/0.9656, allocations: 1.451 MB / 0.8249 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005923/0.9662, allocations: 0.8573 MB / 0.8257 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008946/0.9671, allocations: 0.6075 MB / 0.8263 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.525e-05/0.9672, allocations: 301.1 kB / 0.8266 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003889/0.9711, allocations: 1.749 MB / 0.8283 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/0.9754, allocations: 2.175 MB / 0.8305 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008277/0.9837, allocations: 3.869 MB / 0.8342 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.9837, allocations: 5.25 kB / 0.8342 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01061/0.9943, allocations: 4.483 MB / 0.8386 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.9944, allocations: 39.75 kB / 0.8387 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.9944, allocations: 6.938 kB / 0.8387 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/0.995, allocations: 95.34 kB / 0.8387 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003886/0.9989, allocations: 0.8298 MB / 0.8396 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/1.001, allocations: 1.704 MB / 0.8412 GB, free: 202.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/1.005, allocations: 0.4898 MB / 0.8417 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/1.005, allocations: 151.5 kB / 0.8418 GB, free: 201.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 17 (sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (327): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 1 * 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.001766/1.007, allocations: 1.028 MB / 0.8429 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005738/1.007, allocations: 255.6 kB / 0.8431 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/1.018, allocations: 5.072 MB / 0.848 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/1.018, allocations: 28 kB / 0.8481 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.018, allocations: 7.938 kB / 0.8481 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/1.018, allocations: 15.94 kB / 0.8481 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/1.032, allocations: 9.029 MB / 0.8569 GB, free: 188.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.032, allocations: 4 kB / 0.8569 GB, free: 188.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00311/1.035, allocations: 0.6826 MB / 0.8576 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00044/1.036, allocations: 88.72 kB / 0.8577 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/1.036, allocations: 75.94 kB / 0.8577 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/1.037, allocations: 1.724 MB / 0.8594 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.037, allocations: 0 / 0.8594 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008269/1.046, allocations: 3.961 MB / 0.8633 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.047, allocations: 0.8243 MB / 0.8641 GB, free: 181.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/1.048, allocations: 83.58 kB / 0.8642 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/1.051, allocations: 303.6 kB / 0.8645 GB, free: 180.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003716/1.051, allocations: 194.1 kB / 0.8647 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.051, allocations: 103.9 kB / 0.8648 GB, free: 180.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00194/1.053, allocations: 1.699 MB / 0.8664 GB, free: 178.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.5e-07/1.053, allocations: 0 / 0.8664 GB, free: 178.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002365/1.056, allocations: 1.017 MB / 0.8674 GB, free: 177.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,pulse.T_start,pulse.count) * Number of discrete states: 3 (pulse.count,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.009639/1.065, allocations: 5.123 MB / 0.8724 GB, free: 173 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01651/1.082, allocations: 6.858 MB / 0.8791 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.082, allocations: 4.25 kB / 0.8791 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004256/1.086, allocations: 2.053 MB / 0.8811 GB, free: 164 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/1.089, allocations: 0.5112 MB / 0.8816 GB, free: 163.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04571/1.135, allocations: 30.48 MB / 0.9114 GB, free: 131.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/1.137, allocations: 2.51 MB / 0.9138 GB, free: 128.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00359/1.141, allocations: 0.9727 MB / 0.9148 GB, free: 127.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/1.143, allocations: 1.553 MB / 0.9163 GB, free: 126.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.333e-06/1.143, allocations: 0 / 0.9163 GB, free: 126.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4333/1.576, allocations: 68.48 MB / 0.9832 GB, free: 58.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/16.44, allocations: 10.31 kB / 0.9832 GB, free: 58.31 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample_fmu --startTime=2e+06 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample.fmu > IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe 2>&1)