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.004877/0.004877, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001302/0.001302, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002749/0.002749, allocations: 300.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9679/0.9679, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 91.84 kB / 0.6809 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4428, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00656/0.4494, allocations: 4.431 MB / 0.7702 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.6078, allocations: 150.6 MB / 0.9173 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006636/0.6085, allocations: 19.88 kB / 0.9173 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.6091, allocations: 174.4 kB / 0.9174 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.6106, allocations: 0.5156 MB / 0.9179 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.6124, allocations: 0.8396 MB / 0.9188 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.6136, allocations: 1.339 MB / 0.9201 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.6145, allocations: 0.6493 MB / 0.9207 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.615, allocations: 490.2 kB / 0.9212 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.6156, allocations: 0.5094 MB / 0.9217 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.6157, allocations: 120 kB / 0.9218 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006961/0.6165, allocations: 475.6 kB / 0.9222 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.6167, allocations: 303 kB / 0.9225 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.6172, allocations: 0.5557 MB / 0.9231 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.6189, allocations: 1.647 MB / 0.9247 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6189, allocations: 0 / 0.9247 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6189, allocations: 0 / 0.9247 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.6189, allocations: 4 kB / 0.9247 GB, free: 0.5898 MB / 0.6856 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.002343/0.6213, allocations: 1.491 MB / 0.9261 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.6213, allocations: 8.031 kB / 0.9261 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.6215, allocations: 139.7 kB / 0.9263 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.6226, allocations: 236 kB / 0.9265 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.6237, allocations: 0.7776 MB / 0.9273 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.6238, allocations: 66 kB / 0.9273 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.6239, allocations: 84 kB / 0.9274 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.6255, allocations: 0.9872 MB / 0.9284 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6255, allocations: 0 / 0.9284 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.293e-05/0.6256, allocations: 36 kB / 0.9284 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.6256, allocations: 20 kB / 0.9284 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.6275, allocations: 1.167 MB / 0.9296 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.6313, allocations: 2.813 MB / 0.9323 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.633, allocations: 0.9351 MB / 0.9332 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.6336, allocations: 314.7 kB / 0.9335 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-05/0.6337, allocations: 36.59 kB / 0.9336 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008066/0.6345, allocations: 0.4925 MB / 0.934 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 3.727e-06/0.6345, allocations: 0 / 0.934 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.003009/0.6375, allocations: 1.233 MB / 0.9352 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.6376, allocations: 192.9 kB / 0.9354 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007334/0.6384, allocations: 0.6333 MB / 0.9361 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.6384, allocations: 41.7 kB / 0.9361 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.6388, allocations: 417 kB / 0.9365 GB, free: 4.141 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.639, allocations: 285.6 kB / 0.9368 GB, free: 3.859 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.6392, allocations: 158.5 kB / 0.9369 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.6394, allocations: 394.7 kB / 0.9373 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.6399, allocations: 245.9 kB / 0.9375 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.6405, allocations: 385.1 kB / 0.9379 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.6416, allocations: 0.6111 MB / 0.9385 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6416, allocations: 3.938 kB / 0.9385 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001805/0.6434, allocations: 0.8453 MB / 0.9393 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.6434, allocations: 4 kB / 0.9393 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6434, allocations: 4 kB / 0.9393 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.644, allocations: 80.86 kB / 0.9394 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.6447, allocations: 167.7 kB / 0.9396 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.6467, allocations: 1.623 MB / 0.9411 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.6473, allocations: 95.45 kB / 0.9412 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.6474, allocations: 27.98 kB / 0.9413 GB, free: 15.02 MB / 0.7169 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.0003504/0.6477, allocations: 268.2 kB / 0.9415 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.6479, allocations: 95.48 kB / 0.9416 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.6502, allocations: 1.089 MB / 0.9427 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6502, allocations: 8 kB / 0.9427 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6502, allocations: 0 / 0.9427 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6502, allocations: 7.969 kB / 0.9427 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.6536, allocations: 2.095 MB / 0.9447 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6536, allocations: 0 / 0.9447 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.6542, allocations: 151.8 kB / 0.9449 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.6546, allocations: 72.8 kB / 0.9449 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.6547, allocations: 27.97 kB / 0.945 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.6566, allocations: 1.654 MB / 0.9466 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6566, allocations: 4.031 kB / 0.9466 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.6586, allocations: 1.022 MB / 0.9476 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.6589, allocations: 280.1 kB / 0.9479 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.659, allocations: 24.05 kB / 0.9479 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.6597, allocations: 67.94 kB / 0.9479 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.6598, allocations: 76.83 kB / 0.948 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/0.6599, allocations: 35.98 kB / 0.9481 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000573/0.6605, allocations: 459 kB / 0.9485 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6605, allocations: 4 kB / 0.9485 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009234/0.6614, allocations: 319.2 kB / 0.9488 GB, free: 7.016 MB / 0.7169 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.004002/0.6654, allocations: 2.075 MB / 0.9508 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.667, allocations: 0.8198 MB / 0.9516 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.667, allocations: 0 / 0.9516 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.6679, allocations: 0.5197 MB / 0.9521 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6691, allocations: 311.8 kB / 0.9524 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2966/0.9657, allocations: 6.469 MB / 0.9588 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.9663, allocations: 1.033 MB / 0.9598 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008991/0.9672, allocations: 271.2 kB / 0.96 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/0.9677, allocations: 387.3 kB / 0.9604 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.493e-06/0.9677, allocations: 3.156 kB / 0.9604 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.026/1.993, allocations: 21.92 MB / 0.9818 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/15.06, allocations: 4.406 kB / 0.9818 GB, free: 170.8 MB / 0.7169 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)