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.001529/0.001529, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00135/0.00135, allocations: 199.4 kB / 16.26 MB, free: 6.617 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.274/1.274, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 286.8 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9178/0.9178, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 93.03 kB / 0.5948 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1465, allocations: 86.98 MB / 0.6797 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005354/0.1519, allocations: 4.427 MB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4394/0.5913, allocations: 148.4 MB / 0.8289 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.5921, allocations: 16.12 kB / 0.8289 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.5926, allocations: 136.9 kB / 0.8291 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.594, allocations: 457.9 kB / 0.8295 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.5956, allocations: 0.7608 MB / 0.8303 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.5967, allocations: 1.34 MB / 0.8316 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/0.5974, allocations: 0.6384 MB / 0.8322 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004647/0.5979, allocations: 497.6 kB / 0.8327 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.5984, allocations: 0.5032 MB / 0.8332 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.5985, allocations: 117.2 kB / 0.8333 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007523/0.5993, allocations: 464.6 kB / 0.8337 GB, free: 0 / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.5995, allocations: 294.4 kB / 0.834 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.6, allocations: 0.5641 MB / 0.8345 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.6013, allocations: 1.592 MB / 0.8361 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6013, allocations: 1.375 kB / 0.8361 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6013, allocations: 0 / 0.8361 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.6013, allocations: 4 kB / 0.8361 GB, free: 15.54 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.002307/0.6036, allocations: 1.45 MB / 0.8375 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.6037, allocations: 9.344 kB / 0.8375 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.6038, allocations: 139 kB / 0.8377 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.605, allocations: 235.8 kB / 0.8379 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.6059, allocations: 0.7433 MB / 0.8386 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.606, allocations: 71.77 kB / 0.8387 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.6061, allocations: 84.47 kB / 0.8388 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.6077, allocations: 0.9848 MB / 0.8397 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.6077, allocations: 0 / 0.8397 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.483e-05/0.6078, allocations: 39.52 kB / 0.8398 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.6078, allocations: 22.56 kB / 0.8398 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.6096, allocations: 1.17 MB / 0.8409 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/0.6133, allocations: 2.821 MB / 0.8437 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.615, allocations: 0.9411 MB / 0.8446 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.6155, allocations: 321.1 kB / 0.8449 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.601e-05/0.6156, allocations: 31.5 kB / 0.8449 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008387/0.6164, allocations: 0.4977 MB / 0.8454 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 2.004e-06/0.6164, allocations: 0 / 0.8454 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.00304/0.6195, allocations: 1.226 MB / 0.8466 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.6196, allocations: 195.8 kB / 0.8468 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006638/0.6202, allocations: 0.6302 MB / 0.8474 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.6203, allocations: 46.53 kB / 0.8475 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.6206, allocations: 406.8 kB / 0.8479 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.6208, allocations: 273.2 kB / 0.8481 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.621, allocations: 151.6 kB / 0.8483 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6212, allocations: 392.8 kB / 0.8486 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.6216, allocations: 253.6 kB / 0.8489 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/0.6222, allocations: 379.3 kB / 0.8492 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.6232, allocations: 0.615 MB / 0.8498 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.6232, allocations: 2.719 kB / 0.8498 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001769/0.625, allocations: 0.8404 MB / 0.8507 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.625, allocations: 5.156 kB / 0.8507 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.625, allocations: 2.906 kB / 0.8507 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.6257, allocations: 85.34 kB / 0.8507 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.6263, allocations: 160.6 kB / 0.8509 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.6282, allocations: 1.631 MB / 0.8525 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/0.6289, allocations: 100.6 kB / 0.8526 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/0.629, allocations: 34.23 kB / 0.8526 GB, free: 5.648 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.0003332/0.6293, allocations: 267.5 kB / 0.8529 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.6295, allocations: 87.11 kB / 0.853 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.6318, allocations: 1.091 MB / 0.854 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.6318, allocations: 14 kB / 0.854 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6318, allocations: 4.062 kB / 0.854 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6318, allocations: 3.984 kB / 0.854 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.635, allocations: 2.095 MB / 0.8561 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.635, allocations: 4 kB / 0.8561 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.6355, allocations: 149.4 kB / 0.8562 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.636, allocations: 74.72 kB / 0.8563 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.636, allocations: 27.7 kB / 0.8563 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.6378, allocations: 1.658 MB / 0.858 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6378, allocations: 0 / 0.858 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.6396, allocations: 1.013 MB / 0.8589 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.6399, allocations: 275.2 kB / 0.8592 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.6401, allocations: 19.44 kB / 0.8592 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006831/0.6408, allocations: 70.58 kB / 0.8593 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.6409, allocations: 67.28 kB / 0.8594 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.641, allocations: 43.41 kB / 0.8594 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004739/0.6415, allocations: 459.1 kB / 0.8598 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6415, allocations: 0 / 0.8598 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008156/0.6423, allocations: 312.9 kB / 0.8601 GB, free: 416 kB / 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.003311/0.6456, allocations: 2.068 MB / 0.8622 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.6478, allocations: 1.033 MB / 0.8632 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6478, allocations: 0 / 0.8632 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008548/0.6487, allocations: 0.519 MB / 0.8637 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.6499, allocations: 312.5 kB / 0.864 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.6612, allocations: 7.072 MB / 0.8709 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.6618, allocations: 1.038 MB / 0.8719 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008994/0.6627, allocations: 276.8 kB / 0.8722 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/0.6632, allocations: 396.5 kB / 0.8725 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of SimCode: time 6.32e-07/0.6633, allocations: 0 / 0.8725 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6942/1.357, allocations: 21.49 MB / 0.8935 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003271/1.358, allocations: 304.1 kB / 0.8938 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.885, allocations: 0 / 0.8938 GB, free: 3.652 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)