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.006218/0.006218, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001392/0.001392, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002309/0.002309, allocations: 286.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 95.84 kB / 0.6809 GB, free: 44 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1545, allocations: 86.97 MB / 0.7659 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006032/0.1606, allocations: 4.432 MB / 0.7702 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4632/0.6238, allocations: 150.6 MB / 0.9173 GB, free: 7.945 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008861/0.6247, allocations: 19.88 kB / 0.9173 GB, free: 7.926 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.6255, allocations: 174.3 kB / 0.9174 GB, free: 7.754 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.6274, allocations: 0.5168 MB / 0.9179 GB, free: 7.254 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.6295, allocations: 0.8377 MB / 0.9188 GB, free: 6.445 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001646/0.6312, allocations: 1.336 MB / 0.9201 GB, free: 5.105 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.6322, allocations: 0.6518 MB / 0.9207 GB, free: 4.434 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.633, allocations: 486.3 kB / 0.9212 GB, free: 3.957 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007655/0.6338, allocations: 0.5094 MB / 0.9217 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.634, allocations: 120 kB / 0.9218 GB, free: 3.328 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009913/0.635, allocations: 481.4 kB / 0.9222 GB, free: 2.859 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003266/0.6354, allocations: 307 kB / 0.9225 GB, free: 2.559 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006415/0.636, allocations: 0.5587 MB / 0.9231 GB, free: 2 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.638, allocations: 1.619 MB / 0.9247 GB, free: 388 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.638, allocations: 0 / 0.9247 GB, free: 388 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.543e-06/0.638, allocations: 0 / 0.9247 GB, free: 388 kB / 0.67 GB Notification: Performance of Transformations before backend: time 3.934e-05/0.638, allocations: 0 / 0.9247 GB, free: 388 kB / 0.67 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.00293/0.641, allocations: 1.474 MB / 0.9261 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.641, allocations: 8.031 kB / 0.9261 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.6412, allocations: 139.7 kB / 0.9262 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.6425, allocations: 227.3 kB / 0.9265 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.6439, allocations: 0.7735 MB / 0.9272 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.6439, allocations: 66 kB / 0.9273 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6441, allocations: 84 kB / 0.9273 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.6458, allocations: 0.9833 MB / 0.9283 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.6459, allocations: 7.938 kB / 0.9283 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.646, allocations: 39.98 kB / 0.9284 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.646, allocations: 20 kB / 0.9284 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.648, allocations: 1.159 MB / 0.9295 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/0.6524, allocations: 2.798 MB / 0.9322 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.6542, allocations: 0.9379 MB / 0.9332 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/0.6548, allocations: 306.7 kB / 0.9334 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.007e-05/0.6549, allocations: 40.59 kB / 0.9335 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008551/0.6557, allocations: 0.4925 MB / 0.934 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=83): time 3.025e-06/0.6558, allocations: 0 / 0.934 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=83): time 0.003213/0.659, allocations: 1.224 MB / 0.9352 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.6591, allocations: 192.9 kB / 0.9353 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008306/0.6599, allocations: 0.6371 MB / 0.936 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/0.66, allocations: 49.45 kB / 0.936 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.6603, allocations: 412.3 kB / 0.9364 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.6606, allocations: 268.1 kB / 0.9367 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.6608, allocations: 154.5 kB / 0.9368 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.661, allocations: 390.8 kB / 0.9372 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.6615, allocations: 245.9 kB / 0.9374 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.6621, allocations: 385.1 kB / 0.9378 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.6633, allocations: 0.615 MB / 0.9384 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6633, allocations: 0 / 0.9384 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001911/0.6652, allocations: 0.8369 MB / 0.9392 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6652, allocations: 8.188 kB / 0.9392 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6652, allocations: 4 kB / 0.9392 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005775/0.6658, allocations: 84.72 kB / 0.9393 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.6665, allocations: 163.8 kB / 0.9395 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.6687, allocations: 1.626 MB / 0.941 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007233/0.6694, allocations: 95.25 kB / 0.9411 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/0.6695, allocations: 31.97 kB / 0.9412 GB, free: 14.89 MB / 0.7012 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.0004418/0.6699, allocations: 266.2 kB / 0.9414 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.6702, allocations: 86.97 kB / 0.9415 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.6726, allocations: 1.098 MB / 0.9426 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6726, allocations: 8 kB / 0.9426 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6726, allocations: 0 / 0.9426 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.6727, allocations: 3.984 kB / 0.9426 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.6764, allocations: 2.092 MB / 0.9446 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.6764, allocations: 0 / 0.9446 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/0.6771, allocations: 147.8 kB / 0.9448 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.6775, allocations: 72.78 kB / 0.9448 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.6776, allocations: 31.97 kB / 0.9449 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.6796, allocations: 1.659 MB / 0.9465 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6796, allocations: 4.031 kB / 0.9465 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.6817, allocations: 1.014 MB / 0.9475 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/0.6822, allocations: 279.7 kB / 0.9477 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.6824, allocations: 19.98 kB / 0.9478 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.6831, allocations: 64.64 kB / 0.9478 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.6833, allocations: 78.67 kB / 0.9479 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.203e-05/0.6834, allocations: 39.92 kB / 0.9479 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006373/0.684, allocations: 455 kB / 0.9484 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6841, allocations: 0 / 0.9484 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009029/0.685, allocations: 315.2 kB / 0.9487 GB, free: 6.922 MB / 0.7012 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.00356/0.6885, allocations: 2.068 MB / 0.9507 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.6903, allocations: 0.8208 MB / 0.9515 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6903, allocations: 0 / 0.9515 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009628/0.6913, allocations: 0.5275 MB / 0.952 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.6926, allocations: 308.6 kB / 0.9523 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.7042, allocations: 6.432 MB / 0.9586 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.7049, allocations: 1.039 MB / 0.9596 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008956/0.7058, allocations: 278.7 kB / 0.9599 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005699/0.7064, allocations: 387.3 kB / 0.9602 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of SimCode: time 1.202e-06/0.7064, allocations: 4 kB / 0.9602 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05562/0.762, allocations: 21.76 MB / 0.9815 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.18, allocations: 8.312 kB / 0.9815 GB, free: 5.613 MB / 0.7325 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)