Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_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.000674/0.000674, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.003918/0.003918, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.242/2.242, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.0002729, allocations: 8.188 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4785, allocations: 153.8 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004519/0.483, allocations: 4.523 MB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1289/0.612, allocations: 146.7 MB / 1.171 GB, free: 8.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005939/0.6126, allocations: 15.88 kB / 1.171 GB, free: 8.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.6131, allocations: 158.8 kB / 1.171 GB, free: 7.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.6144, allocations: 478.8 kB / 1.171 GB, free: 7.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.616, allocations: 0.7413 MB / 1.172 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.6172, allocations: 1.326 MB / 1.173 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007582/0.618, allocations: 0.5674 MB / 1.174 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005001/0.6185, allocations: 370.2 kB / 1.174 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.6189, allocations: 405.8 kB / 1.175 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.92e-05/0.619, allocations: 28 kB / 1.175 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.6196, allocations: 367.6 kB / 1.175 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.6198, allocations: 187.1 kB / 1.175 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.6202, allocations: 486.8 kB / 1.176 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.6214, allocations: 1.518 MB / 1.177 GB, free: 1.465 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6214, allocations: 0 / 1.177 GB, free: 1.465 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6214, allocations: 3.938 kB / 1.177 GB, free: 1.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.6214, allocations: 0 / 1.177 GB, free: 1.461 MB / 0.92 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.001944/0.6233, allocations: 1.252 MB / 1.178 GB, free: 164 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.6234, allocations: 12.03 kB / 1.179 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.6235, allocations: 139.6 kB / 1.179 GB, free: 4 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.6247, allocations: 247.5 kB / 1.179 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008848/0.6256, allocations: 0.7537 MB / 1.18 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.6256, allocations: 66 kB / 1.18 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6257, allocations: 84 kB / 1.18 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.6272, allocations: 0.9872 MB / 1.181 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6273, allocations: 3.938 kB / 1.181 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.6274, allocations: 44 kB / 1.181 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.6274, allocations: 20 kB / 1.181 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.6292, allocations: 1.179 MB / 1.182 GB, free: 12.54 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.6329, allocations: 3.074 MB / 1.185 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.6346, allocations: 0.9724 MB / 1.186 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/0.6351, allocations: 314.7 kB / 1.186 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-05/0.6352, allocations: 28.61 kB / 1.186 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007763/0.6359, allocations: 0.5003 MB / 1.187 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 1.783e-06/0.6359, allocations: 0 / 1.187 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.002849/0.6388, allocations: 1.251 MB / 1.188 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.6389, allocations: 200.8 kB / 1.188 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.6396, allocations: 0.6331 MB / 1.189 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.6396, allocations: 45.7 kB / 1.189 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.6399, allocations: 408.3 kB / 1.189 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.6401, allocations: 268.2 kB / 1.189 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.6402, allocations: 65.69 kB / 1.189 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6403, allocations: 386.8 kB / 1.19 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.6408, allocations: 253.9 kB / 1.19 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.6414, allocations: 393.1 kB / 1.19 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.6424, allocations: 0.6267 MB / 1.191 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6424, allocations: 8 kB / 1.191 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001674/0.6441, allocations: 0.8408 MB / 1.192 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6441, allocations: 11.98 kB / 1.192 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.6441, allocations: 3.984 kB / 1.192 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.6447, allocations: 88.91 kB / 1.192 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.6453, allocations: 163.7 kB / 1.192 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.647, allocations: 1.531 MB / 1.194 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.6477, allocations: 103.4 kB / 1.194 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.6477, allocations: 39.91 kB / 1.194 GB, free: 15.89 MB / 0.9512 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.00032/0.6481, allocations: 270.6 kB / 1.194 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.6482, allocations: 82.97 kB / 1.194 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.6504, allocations: 1.105 MB / 1.195 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6504, allocations: 8 kB / 1.195 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6504, allocations: 0 / 1.195 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.6504, allocations: 7.969 kB / 1.195 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.6535, allocations: 2.11 MB / 1.197 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6535, allocations: 0 / 1.197 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.6541, allocations: 151.8 kB / 1.197 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/0.6545, allocations: 88.7 kB / 1.198 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.6546, allocations: 23.98 kB / 1.198 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.6562, allocations: 1.556 MB / 1.199 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6562, allocations: 4.062 kB / 1.199 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.658, allocations: 1.015 MB / 1.2 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.6583, allocations: 291.6 kB / 1.2 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.6584, allocations: 19.94 kB / 1.2 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.6591, allocations: 87.92 kB / 1.2 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.6592, allocations: 72.89 kB / 1.201 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.6593, allocations: 39.98 kB / 1.201 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000476/0.6597, allocations: 455 kB / 1.201 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6598, allocations: 0 / 1.201 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006749/0.6604, allocations: 327.2 kB / 1.201 GB, free: 7.941 MB / 0.9512 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.003104/0.6635, allocations: 2.098 MB / 1.203 GB, free: 6 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.665, allocations: 0.8238 MB / 1.204 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.665, allocations: 4 kB / 1.204 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.6658, allocations: 0.5314 MB / 1.205 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.667, allocations: 287.7 kB / 1.205 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.6771, allocations: 7.01 MB / 1.212 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.6776, allocations: 1.031 MB / 1.213 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007374/0.6784, allocations: 267 kB / 1.213 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005025/0.6789, allocations: 391.3 kB / 1.213 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.6789, allocations: 0 / 1.213 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.392/5.071, allocations: 20.95 MB / 1.234 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/5.071, allocations: 303.5 kB / 1.234 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/7.328, allocations: 0 / 1.234 GB, free: 6.484 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)