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: translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001389/0.001389, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 277.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9017/0.9017, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 103.8 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4677, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005468/0.4732, allocations: 4.439 MB / 0.7713 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1416/0.6148, allocations: 150.6 MB / 0.9184 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.6156, allocations: 15.94 kB / 0.9184 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.6163, allocations: 174.3 kB / 0.9186 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.6182, allocations: 0.5188 MB / 0.9191 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.6203, allocations: 0.8387 MB / 0.9199 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.6219, allocations: 1.343 MB / 0.9212 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.6229, allocations: 0.6453 MB / 0.9218 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000756/0.6237, allocations: 0.4905 MB / 0.9223 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007178/0.6244, allocations: 0.5095 MB / 0.9228 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002714/0.6247, allocations: 116 kB / 0.9229 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.6257, allocations: 479.6 kB / 0.9234 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000341/0.6261, allocations: 303 kB / 0.9237 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.6267, allocations: 0.5635 MB / 0.9242 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.6288, allocations: 1.622 MB / 0.9258 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6288, allocations: 0 / 0.9258 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6288, allocations: 0 / 0.9258 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.11e-05/0.6288, allocations: 0 / 0.9258 GB, free: 0.6719 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.002929/0.6318, allocations: 1.45 MB / 0.9272 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.6318, allocations: 8.031 kB / 0.9272 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.6331, allocations: 235.3 kB / 0.9275 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.6344, allocations: 0.7695 MB / 0.9282 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.6345, allocations: 66 kB / 0.9283 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.6346, allocations: 84 kB / 0.9284 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.6363, allocations: 0.9833 MB / 0.9293 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.6363, allocations: 0 / 0.9293 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.301e-05/0.6364, allocations: 40 kB / 0.9294 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.6365, allocations: 20 kB / 0.9294 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.6383, allocations: 1.167 MB / 0.9305 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.6425, allocations: 2.8 MB / 0.9332 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.6442, allocations: 0.9368 MB / 0.9342 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.6448, allocations: 310.7 kB / 0.9345 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.622e-05/0.6449, allocations: 32.59 kB / 0.9345 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008216/0.6457, allocations: 0.4925 MB / 0.935 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 3.256e-06/0.6457, allocations: 0 / 0.935 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.003135/0.6488, allocations: 1.224 MB / 0.9362 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/0.649, allocations: 196.9 kB / 0.9364 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008206/0.6498, allocations: 0.6293 MB / 0.937 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.6499, allocations: 45.69 kB / 0.937 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.6502, allocations: 412.2 kB / 0.9374 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.6504, allocations: 268.1 kB / 0.9377 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.6507, allocations: 178.5 kB / 0.9378 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6508, allocations: 382.8 kB / 0.9382 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.6513, allocations: 277.8 kB / 0.9385 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.652, allocations: 389.6 kB / 0.9388 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.6531, allocations: 0.6346 MB / 0.9395 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.6531, allocations: 8.047 kB / 0.9395 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001969/0.6551, allocations: 0.876 MB / 0.9403 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6551, allocations: 8 kB / 0.9403 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6551, allocations: 4.188 kB / 0.9403 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.6557, allocations: 88.7 kB / 0.9404 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.6564, allocations: 175.7 kB / 0.9406 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.6585, allocations: 1.626 MB / 0.9422 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007821/0.6593, allocations: 103.3 kB / 0.9423 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.6594, allocations: 39.97 kB / 0.9423 GB, free: 15.2 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.0004632/0.6599, allocations: 273.7 kB / 0.9426 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.6601, allocations: 79.06 kB / 0.9426 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/0.6625, allocations: 1.089 MB / 0.9437 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.6625, allocations: 16 kB / 0.9437 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6625, allocations: 0 / 0.9437 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6625, allocations: 3.984 kB / 0.9437 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.666, allocations: 2.084 MB / 0.9458 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.6661, allocations: 4 kB / 0.9458 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.6667, allocations: 147.8 kB / 0.9459 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/0.6671, allocations: 76.78 kB / 0.946 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.6672, allocations: 23.98 kB / 0.946 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.669, allocations: 1.662 MB / 0.9476 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.669, allocations: 0 / 0.9476 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.6711, allocations: 1.014 MB / 0.9486 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.6716, allocations: 271.9 kB / 0.9489 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.6717, allocations: 19.98 kB / 0.9489 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.6725, allocations: 63.94 kB / 0.9489 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.6726, allocations: 80.83 kB / 0.949 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.6727, allocations: 35.98 kB / 0.9491 GB, free: 8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005956/0.6733, allocations: 459 kB / 0.9495 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6733, allocations: 0 / 0.9495 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009393/0.6743, allocations: 327.1 kB / 0.9498 GB, free: 7.234 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.001361/0.6756, allocations: 0.5932 MB / 0.9504 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.6774, allocations: 0.8511 MB / 0.9512 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6774, allocations: 4 kB / 0.9512 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009499/0.6783, allocations: 0.5235 MB / 0.9517 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6797, allocations: 316.1 kB / 0.952 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.6836, allocations: 1.82 MB / 0.9538 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.6842, allocations: 1.027 MB / 0.9548 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.6846, allocations: 119.3 kB / 0.9549 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.6846, allocations: 4 kB / 0.9549 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.3856/1.07, allocations: 18.82 MB / 0.9733 GB, free: 179.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)