Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009894/0.0009894, allocations: 176.7 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4989/0.4989, allocations: 90.92 MB / 99.35 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.0009032, allocations: 99.88 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.605e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.936/4.07, allocations: 1.683 GB / 2.237 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/4.07, allocations: 83.95 kB / 2.237 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.5667/4.636, allocations: 57.42 MB / 2.293 GB, free: 206.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/4.637, allocations: 0 / 2.293 GB, free: 206.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001062/4.637, allocations: 25.78 kB / 2.293 GB, free: 206.7 MB / 0.6042 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.002493/4.639, allocations: 1.094 MB / 2.294 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/4.639, allocations: 8.031 kB / 2.294 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/4.641, allocations: 238.4 kB / 2.294 GB, free: 205.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/4.642, allocations: 0.6188 MB / 2.295 GB, free: 204.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/4.642, allocations: 24 kB / 2.295 GB, free: 204.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/4.642, allocations: 48 kB / 2.295 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001444/4.643, allocations: 0.9991 MB / 2.296 GB, free: 203.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/4.645, allocations: 0.757 MB / 2.297 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/4.645, allocations: 7.938 kB / 2.297 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/4.645, allocations: 0 / 2.297 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/4.645, allocations: 20 kB / 2.297 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/4.648, allocations: 2.548 MB / 2.299 GB, free: 200.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/4.649, allocations: 0.76 MB / 2.3 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/4.65, allocations: 243.2 kB / 2.3 GB, free: 199.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.874e-05/4.65, allocations: 28.41 kB / 2.3 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/4.65, allocations: 387.8 kB / 2.301 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 2.716e-06/4.65, allocations: 3.938 kB / 2.301 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001451/4.652, allocations: 0.6535 MB / 2.301 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/4.652, allocations: 240.1 kB / 2.301 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/4.653, allocations: 0.4984 MB / 2.302 GB, free: 197.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/4.653, allocations: 29.7 kB / 2.302 GB, free: 197.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/4.653, allocations: 392 kB / 2.302 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/4.653, allocations: 232.5 kB / 2.303 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/4.653, allocations: 0 / 2.303 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/4.653, allocations: 378.7 kB / 2.303 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/4.653, allocations: 189.5 kB / 2.303 GB, free: 196.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/4.654, allocations: 314.1 kB / 2.303 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/4.654, allocations: 236.4 kB / 2.304 GB, free: 195.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/4.654, allocations: 0 / 2.304 GB, free: 195.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001275/4.655, allocations: 0.6641 MB / 2.304 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/4.655, allocations: 4 kB / 2.304 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/4.655, allocations: 8.156 kB / 2.304 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005631/4.656, allocations: 88.69 kB / 2.304 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/4.657, allocations: 143.8 kB / 2.305 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/4.658, allocations: 1.457 MB / 2.306 GB, free: 193 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/4.659, allocations: 67.5 kB / 2.306 GB, free: 192.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/4.659, allocations: 31.98 kB / 2.306 GB, free: 192.9 MB / 0.6042 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.0001501/4.659, allocations: 116.9 kB / 2.306 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001233/4.66, allocations: 0.6521 MB / 2.307 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/4.66, allocations: 71.11 kB / 2.307 GB, free: 192 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/4.662, allocations: 0.9074 MB / 2.308 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/4.662, allocations: 8 kB / 2.308 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/4.662, allocations: 0 / 2.308 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/4.662, allocations: 7.984 kB / 2.308 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/4.665, allocations: 1.753 MB / 2.309 GB, free: 189.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/4.665, allocations: 0 / 2.309 GB, free: 189.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/4.665, allocations: 143.8 kB / 2.31 GB, free: 189.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/4.666, allocations: 84.73 kB / 2.31 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/4.666, allocations: 15.98 kB / 2.31 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/4.667, allocations: 1.477 MB / 2.311 GB, free: 187.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/4.667, allocations: 0 / 2.311 GB, free: 187.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/4.668, allocations: 0.8222 MB / 2.312 GB, free: 186.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/4.669, allocations: 279.8 kB / 2.312 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/4.669, allocations: 8.062 kB / 2.312 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/4.669, allocations: 59.88 kB / 2.312 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/4.67, allocations: 56.7 kB / 2.312 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/4.67, allocations: 31.98 kB / 2.312 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004498/4.67, allocations: 406.9 kB / 2.313 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/4.67, allocations: 7.938 kB / 2.313 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001126/4.671, allocations: 334.9 kB / 2.313 GB, free: 185.5 MB / 0.6042 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.003446/4.675, allocations: 2.338 MB / 2.315 GB, free: 183.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001071/4.676, allocations: 0.6476 MB / 2.316 GB, free: 182.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/4.676, allocations: 3.906 kB / 2.316 GB, free: 182.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/4.676, allocations: 448.5 kB / 2.316 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/4.678, allocations: 237.1 kB / 2.317 GB, free: 182 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/4.681, allocations: 1.489 MB / 2.318 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/4.682, allocations: 1.027 MB / 2.319 GB, free: 179.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008036/4.683, allocations: 254 kB / 2.319 GB, free: 179.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/4.683, allocations: 351.2 kB / 2.32 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/4.683, allocations: 0 / 2.32 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05034/4.733, allocations: 23.54 MB / 2.343 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/4.734, allocations: 196.4 kB / 2.343 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.04/7.774, allocations: 0 / 2.343 GB, free: 155.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)