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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7193/0.7193, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 183.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008078/0.0008078, allocations: 91.59 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 278.5 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.482e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3976, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.652/4.049, allocations: 1.691 GB / 2.455 GB, free: 52.09 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/4.049, allocations: 82.2 kB / 2.455 GB, free: 52.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4992/4.549, allocations: 58.24 MB / 2.512 GB, free: 235.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/4.549, allocations: 0 / 2.512 GB, free: 235.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.203e-05/4.549, allocations: 25.61 kB / 2.512 GB, free: 235.3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001982/4.551, allocations: 1.087 MB / 2.513 GB, free: 234.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/4.551, allocations: 9.953 kB / 2.513 GB, free: 234.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/4.551, allocations: 135.2 kB / 2.513 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/4.552, allocations: 241.9 kB / 2.514 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/4.553, allocations: 0.6173 MB / 2.514 GB, free: 234.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/4.553, allocations: 59.5 kB / 2.514 GB, free: 234.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/4.554, allocations: 78.02 kB / 2.514 GB, free: 234.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/4.555, allocations: 0.8826 MB / 2.515 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/4.555, allocations: 5.688 kB / 2.515 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/4.555, allocations: 38.36 kB / 2.515 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/4.555, allocations: 20.27 kB / 2.515 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/4.557, allocations: 1.054 MB / 2.516 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/4.561, allocations: 2.707 MB / 2.519 GB, free: 233.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/4.563, allocations: 0.7963 MB / 2.52 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/4.563, allocations: 265.1 kB / 2.52 GB, free: 233.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.8e-05/4.563, allocations: 35.42 kB / 2.52 GB, free: 233.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006408/4.564, allocations: 413 kB / 2.52 GB, free: 233.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.416e-06/4.564, allocations: 0 / 2.52 GB, free: 233.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.001575/4.565, allocations: 0.6966 MB / 2.521 GB, free: 233 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/4.566, allocations: 242.3 kB / 2.521 GB, free: 232.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/4.566, allocations: 0.5833 MB / 2.522 GB, free: 232.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/4.566, allocations: 40.86 kB / 2.522 GB, free: 232.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/4.567, allocations: 386 kB / 2.522 GB, free: 232.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/4.567, allocations: 245.1 kB / 2.522 GB, free: 232.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/4.567, allocations: 13.62 kB / 2.523 GB, free: 232.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001198/4.567, allocations: 380.3 kB / 2.523 GB, free: 231.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/4.568, allocations: 203.1 kB / 2.523 GB, free: 231.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/4.568, allocations: 330 kB / 2.523 GB, free: 231.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/4.569, allocations: 256 kB / 2.524 GB, free: 231.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/4.569, allocations: 0.9062 kB / 2.524 GB, free: 231.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001657/4.57, allocations: 0.7172 MB / 2.524 GB, free: 231.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/4.57, allocations: 5.969 kB / 2.524 GB, free: 231.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/4.57, allocations: 1.594 kB / 2.524 GB, free: 231.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/4.571, allocations: 86.23 kB / 2.524 GB, free: 231.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/4.572, allocations: 145 kB / 2.525 GB, free: 231.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/4.573, allocations: 1.516 MB / 2.526 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/4.574, allocations: 83.67 kB / 2.526 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/4.574, allocations: 36.41 kB / 2.526 GB, free: 230.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001507/4.574, allocations: 138.8 kB / 2.526 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/4.574, allocations: 86.36 kB / 2.526 GB, free: 230.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/4.576, allocations: 0.9564 MB / 2.527 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/4.576, allocations: 11.12 kB / 2.527 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/4.576, allocations: 0 / 2.527 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/4.576, allocations: 7.781 kB / 2.527 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/4.579, allocations: 1.923 MB / 2.529 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/4.579, allocations: 0 / 2.529 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/4.579, allocations: 150.3 kB / 2.529 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/4.58, allocations: 89.38 kB / 2.529 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/4.58, allocations: 21.34 kB / 2.529 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/4.581, allocations: 1.546 MB / 2.531 GB, free: 228.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/4.581, allocations: 6.672 kB / 2.531 GB, free: 228.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/4.582, allocations: 0.8692 MB / 2.532 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/4.583, allocations: 283.6 kB / 2.532 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/4.583, allocations: 25.81 kB / 2.532 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/4.584, allocations: 60.91 kB / 2.532 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/4.584, allocations: 61.94 kB / 2.532 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/4.584, allocations: 31.16 kB / 2.532 GB, free: 228 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004936/4.584, allocations: 478 kB / 2.533 GB, free: 227.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/4.584, allocations: 0 / 2.533 GB, free: 227.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001002/4.585, allocations: 366.4 kB / 2.533 GB, free: 227.9 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003051/4.588, allocations: 2.342 MB / 2.535 GB, free: 227 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001075/4.589, allocations: 0.6914 MB / 2.536 GB, free: 226.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/4.589, allocations: 6.281 kB / 2.536 GB, free: 226.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/4.59, allocations: 469 kB / 2.536 GB, free: 226.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/4.591, allocations: 263.5 kB / 2.537 GB, free: 226.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/4.595, allocations: 1.551 MB / 2.538 GB, free: 226.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/4.595, allocations: 1.028 MB / 2.539 GB, free: 225.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007879/4.596, allocations: 253.4 kB / 2.539 GB, free: 225.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/4.596, allocations: 353.3 kB / 2.54 GB, free: 225.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/4.596, allocations: 0 / 2.54 GB, free: 225.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04921/4.646, allocations: 31.47 MB / 2.571 GB, free: 216.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/4.646, allocations: 243.4 kB / 2.571 GB, free: 216.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/7.611, allocations: 4 kB / 2.571 GB, free: 216.4 MB / 0.698 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/linux/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)