Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_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.001035/0.001035, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001443/0.001443, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.596/2.596, allocations: 409.4 MB / 0.684 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 11.94 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7974/0.7978, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005102/0.803, allocations: 3.809 MB / 0.9848 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1493/0.9524, allocations: 136.8 MB / 1.118 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/0.953, allocations: 23.88 kB / 1.118 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.9535, allocations: 126.9 kB / 1.119 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.9547, allocations: 432.8 kB / 1.119 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.9564, allocations: 0.6399 MB / 1.12 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.9576, allocations: 1.159 MB / 1.121 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007156/0.9583, allocations: 499.4 kB / 1.121 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.9589, allocations: 342.4 kB / 1.122 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.9594, allocations: 374.1 kB / 1.122 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.9595, allocations: 24 kB / 1.122 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007596/0.9602, allocations: 335.6 kB / 1.122 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.9604, allocations: 187.2 kB / 1.122 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.9606, allocations: 201.1 kB / 1.123 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.9617, allocations: 1.173 MB / 1.124 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9617, allocations: 0 / 1.124 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9617, allocations: 0 / 1.124 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.9618, allocations: 4 kB / 1.124 GB, free: 3.742 MB / 0.8731 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.002177/0.9639, allocations: 1.232 MB / 1.125 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.964, allocations: 12.03 kB / 1.125 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.9642, allocations: 139.5 kB / 1.125 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.9653, allocations: 258.3 kB / 1.125 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.9663, allocations: 0.7224 MB / 1.126 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.9664, allocations: 73.89 kB / 1.126 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.9665, allocations: 84 kB / 1.126 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.9682, allocations: 0.9833 MB / 1.127 GB, free: 104 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.9683, allocations: 4 kB / 1.127 GB, free: 100 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.9683, allocations: 40 kB / 1.127 GB, free: 60 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.9684, allocations: 20 kB / 1.127 GB, free: 40 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.9703, allocations: 1.171 MB / 1.128 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.9744, allocations: 2.866 MB / 1.131 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.9761, allocations: 0.9536 MB / 1.132 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.9766, allocations: 314.7 kB / 1.132 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/0.9767, allocations: 28.61 kB / 1.132 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008244/0.9775, allocations: 0.5002 MB / 1.133 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=83): time 2.234e-06/0.9775, allocations: 4 kB / 1.133 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=83): time 0.002919/0.9805, allocations: 1.232 MB / 1.134 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.9806, allocations: 192.9 kB / 1.134 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.9813, allocations: 0.6331 MB / 1.135 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.9814, allocations: 41.7 kB / 1.135 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.9817, allocations: 408.3 kB / 1.135 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.9819, allocations: 276 kB / 1.136 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.9819, allocations: 16 kB / 1.136 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.9821, allocations: 386.7 kB / 1.136 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.9825, allocations: 261.7 kB / 1.136 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.9831, allocations: 385.1 kB / 1.137 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.9836, allocations: 298.9 kB / 1.137 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9836, allocations: 4 kB / 1.137 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001653/0.9853, allocations: 0.8371 MB / 1.138 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.9853, allocations: 12.03 kB / 1.138 GB, free: 5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9853, allocations: 0 / 1.138 GB, free: 5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.9858, allocations: 84.77 kB / 1.138 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.9865, allocations: 163.7 kB / 1.138 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.9883, allocations: 1.516 MB / 1.139 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.989, allocations: 103.4 kB / 1.14 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.9891, allocations: 31.97 kB / 1.14 GB, free: 2.965 MB / 0.8887 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (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.0004823/0.9895, allocations: 273.8 kB / 1.14 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.9897, allocations: 82.97 kB / 1.14 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.992, allocations: 1.101 MB / 1.141 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.992, allocations: 12 kB / 1.141 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.992, allocations: 3.953 kB / 1.141 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.992, allocations: 3.984 kB / 1.141 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.9953, allocations: 2.102 MB / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.9953, allocations: 0 / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/0.9959, allocations: 151.8 kB / 1.143 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.9963, allocations: 84.77 kB / 1.143 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.9964, allocations: 23.98 kB / 1.143 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.9981, allocations: 1.548 MB / 1.145 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9981, allocations: 0 / 1.145 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/1, allocations: 1.016 MB / 1.146 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/1, allocations: 291.5 kB / 1.146 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/1.001, allocations: 27.94 kB / 1.146 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/1.001, allocations: 85.34 kB / 1.146 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.001, allocations: 72.84 kB / 1.146 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/1.001, allocations: 35.98 kB / 1.146 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006128/1.002, allocations: 451 kB / 1.147 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 7.938 kB / 1.147 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009311/1.003, allocations: 315.2 kB / 1.147 GB, free: 11.04 MB / 0.9044 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 (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.003254/1.006, allocations: 2.058 MB / 1.149 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001608/1.008, allocations: 0.816 MB / 1.15 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.008, allocations: 0 / 1.15 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008735/1.009, allocations: 0.5275 MB / 1.15 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.01, allocations: 273.7 kB / 1.151 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.02, allocations: 5.192 MB / 1.156 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/1.021, allocations: 1.028 MB / 1.157 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009258/1.022, allocations: 270.8 kB / 1.157 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/1.023, allocations: 387.3 kB / 1.157 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of SimCode: time 9.11e-07/1.023, allocations: 0 / 1.157 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3224/1.345, allocations: 21.81 MB / 1.179 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003376/1.345, allocations: 275.3 kB / 1.179 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.953, allocations: 0 / 1.179 GB, free: 10.74 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat does not exist to compare? outputFormat=mat