Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.001088/0.001088, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001236/0.001236, allocations: 190.2 kB / 16.13 MB, free: 6.66 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 279.2 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.844/0.844, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 91.38 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 86.98 MB / 0.6795 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005484/0.1322, allocations: 4.442 MB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3859/0.5181, allocations: 148.3 MB / 0.8287 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006523/0.5188, allocations: 16.28 kB / 0.8287 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.5193, allocations: 133.6 kB / 0.8288 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.5206, allocations: 442.1 kB / 0.8292 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.522, allocations: 0.7333 MB / 0.8299 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008259/0.5228, allocations: 1.25 MB / 0.8312 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.5235, allocations: 0.6271 MB / 0.8318 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.5239, allocations: 420.5 kB / 0.8322 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.5243, allocations: 478.2 kB / 0.8326 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.5245, allocations: 57.19 kB / 0.8327 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006391/0.5251, allocations: 400.5 kB / 0.8331 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.5253, allocations: 242.8 kB / 0.8333 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.5257, allocations: 0.5009 MB / 0.8338 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.527, allocations: 1.542 MB / 0.8353 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.527, allocations: 0 / 0.8353 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.12e-07/0.527, allocations: 0 / 0.8353 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.527, allocations: 1.031 kB / 0.8353 GB, free: 15.86 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002454/0.5295, allocations: 1.445 MB / 0.8367 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5295, allocations: 16.25 kB / 0.8367 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.5297, allocations: 137.4 kB / 0.8369 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.5308, allocations: 236.2 kB / 0.8371 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009541/0.5318, allocations: 0.746 MB / 0.8378 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.5318, allocations: 65.47 kB / 0.8379 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.532, allocations: 91.66 kB / 0.838 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.5335, allocations: 0.9804 MB / 0.8389 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.5335, allocations: 4.594 kB / 0.8389 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.5336, allocations: 37.06 kB / 0.839 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.5337, allocations: 26 kB / 0.839 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.5355, allocations: 1.166 MB / 0.8401 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.5393, allocations: 2.829 MB / 0.8429 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.541, allocations: 0.938 MB / 0.8438 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.5415, allocations: 313.2 kB / 0.8441 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.5415, allocations: 31.11 kB / 0.8441 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008277/0.5424, allocations: 0.4953 MB / 0.8446 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 2.004e-06/0.5424, allocations: 0 / 0.8446 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.002891/0.5453, allocations: 1.231 MB / 0.8458 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.5454, allocations: 198.6 kB / 0.846 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/0.546, allocations: 0.6276 MB / 0.8466 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.5461, allocations: 43.83 kB / 0.8467 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.5464, allocations: 405.5 kB / 0.847 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5466, allocations: 276.4 kB / 0.8473 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.5468, allocations: 153.2 kB / 0.8475 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5469, allocations: 390.2 kB / 0.8478 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.5474, allocations: 247.4 kB / 0.8481 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.5479, allocations: 389.1 kB / 0.8484 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009529/0.5489, allocations: 0.6148 MB / 0.849 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5489, allocations: 2.219 kB / 0.849 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001687/0.5506, allocations: 0.8342 MB / 0.8498 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5506, allocations: 4.312 kB / 0.8499 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5506, allocations: 6.812 kB / 0.8499 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.5512, allocations: 85.77 kB / 0.8499 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.5518, allocations: 154.3 kB / 0.8501 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.5536, allocations: 1.526 MB / 0.8516 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.5542, allocations: 99.53 kB / 0.8517 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.5543, allocations: 32.7 kB / 0.8517 GB, free: 5.914 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0003255/0.5546, allocations: 269.3 kB / 0.852 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.5547, allocations: 82.23 kB / 0.852 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.5569, allocations: 1.09 MB / 0.8531 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.5569, allocations: 14.78 kB / 0.8531 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.5569, allocations: 0 / 0.8531 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.5569, allocations: 11.72 kB / 0.8531 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.5599, allocations: 2.09 MB / 0.8552 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5599, allocations: 4 kB / 0.8552 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.5605, allocations: 150.9 kB / 0.8553 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/0.5609, allocations: 86.19 kB / 0.8554 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/0.561, allocations: 30.22 kB / 0.8554 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.5627, allocations: 1.531 MB / 0.8569 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5627, allocations: 3.938 kB / 0.8569 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.5645, allocations: 1.016 MB / 0.8579 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.5648, allocations: 282 kB / 0.8582 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.565, allocations: 20.88 kB / 0.8582 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/0.5656, allocations: 70.81 kB / 0.8583 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.5658, allocations: 69.2 kB / 0.8583 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.5658, allocations: 41.86 kB / 0.8584 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004905/0.5663, allocations: 460.8 kB / 0.8588 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5663, allocations: 0 / 0.8588 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008102/0.5672, allocations: 319 kB / 0.8591 GB, free: 0.7734 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003295/0.5705, allocations: 2.062 MB / 0.8611 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.5721, allocations: 0.8112 MB / 0.8619 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5721, allocations: 2.781 kB / 0.8619 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.573, allocations: 0.5239 MB / 0.8624 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.5744, allocations: 281.3 kB / 0.8627 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.5865, allocations: 7.075 MB / 0.8696 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.5871, allocations: 1.035 MB / 0.8706 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008603/0.588, allocations: 272.9 kB / 0.8709 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005357/0.5885, allocations: 392 kB / 0.8713 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of SimCode: time 6.02e-07/0.5886, allocations: 0 / 0.8713 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.949/2.538, allocations: 20.9 MB / 0.8917 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/2.538, allocations: 309.6 kB / 0.892 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/4.858, allocations: 0 / 0.892 GB, free: 5.422 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)