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.001034/0.001034, 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.001012/0.001012, 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.446/1.446, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001787, allocations: 286.2 kB / 291.4 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00063/0.0006301, allocations: 17.78 kB / 0.598 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2152, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004888/0.2201, allocations: 3.802 MB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5783/0.7985, allocations: 136.8 MB / 0.8218 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008839/0.7994, allocations: 14.59 kB / 0.8218 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.7999, allocations: 137 kB / 0.8219 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.8015, allocations: 431.9 kB / 0.8223 GB, free: 348 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.8035, allocations: 0.6329 MB / 0.8229 GB, free: 200 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.8052, allocations: 1.16 MB / 0.8241 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000899/0.8061, allocations: 493.3 kB / 0.8245 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008558/0.8069, allocations: 332.5 kB / 0.8249 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.8075, allocations: 380.4 kB / 0.8252 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.8076, allocations: 26.25 kB / 0.8253 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.8087, allocations: 333.4 kB / 0.8256 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.8089, allocations: 188 kB / 0.8257 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.8092, allocations: 195.2 kB / 0.8259 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.8106, allocations: 1.172 MB / 0.8271 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8106, allocations: 0 / 0.8271 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8106, allocations: 0 / 0.8271 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.8106, allocations: 0 / 0.8271 GB, free: 14.84 MB / 0.5606 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.002465/0.8131, allocations: 1.243 MB / 0.8283 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.8132, allocations: 9.062 kB / 0.8283 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.8144, allocations: 259.9 kB / 0.8286 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.8155, allocations: 0.7161 MB / 0.8293 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.8156, allocations: 70.48 kB / 0.8293 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.8157, allocations: 83.19 kB / 0.8294 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.8174, allocations: 0.9904 MB / 0.8304 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.8174, allocations: 0 / 0.8304 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/0.8175, allocations: 37.28 kB / 0.8304 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.8175, allocations: 29.5 kB / 0.8304 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.8193, allocations: 1.174 MB / 0.8316 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.8234, allocations: 2.859 MB / 0.8344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.8251, allocations: 0.9596 MB / 0.8353 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.8256, allocations: 316.3 kB / 0.8356 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/0.8257, allocations: 28.38 kB / 0.8356 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008361/0.8265, allocations: 0.5023 MB / 0.8361 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=83): time 2.234e-06/0.8265, allocations: 3.938 kB / 0.8361 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.002768/0.8293, allocations: 1.233 MB / 0.8373 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.8294, allocations: 202.9 kB / 0.8375 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.8302, allocations: 0.633 MB / 0.8381 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.8302, allocations: 43.58 kB / 0.8382 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.8305, allocations: 406 kB / 0.8386 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.8308, allocations: 272.9 kB / 0.8388 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.8308, allocations: 15.06 kB / 0.8388 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.831, allocations: 386.3 kB / 0.8392 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.8314, allocations: 277.9 kB / 0.8395 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.832, allocations: 383.7 kB / 0.8398 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.8325, allocations: 318.2 kB / 0.8401 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.8325, allocations: 2.594 kB / 0.8402 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001729/0.8343, allocations: 0.8801 MB / 0.841 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.8343, allocations: 5.531 kB / 0.841 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.8343, allocations: 7.109 kB / 0.841 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.8348, allocations: 91.02 kB / 0.8411 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.8355, allocations: 163.8 kB / 0.8413 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.8374, allocations: 1.529 MB / 0.8428 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007624/0.8381, allocations: 107.5 kB / 0.8429 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/0.8382, allocations: 44.75 kB / 0.8429 GB, free: 6.738 MB / 0.5606 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 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0004859/0.8387, allocations: 267.6 kB / 0.8432 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.8388, allocations: 80.88 kB / 0.8432 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.841, allocations: 1.102 MB / 0.8443 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.8411, allocations: 8.031 kB / 0.8443 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.8411, allocations: 0 / 0.8443 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.8411, allocations: 6.766 kB / 0.8443 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.8443, allocations: 2.099 MB / 0.8464 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.8443, allocations: 0 / 0.8464 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.8449, allocations: 154.3 kB / 0.8465 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/0.8453, allocations: 92.08 kB / 0.8466 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.8454, allocations: 32.66 kB / 0.8466 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.847, allocations: 1.54 MB / 0.8481 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8471, allocations: 0 / 0.8481 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.8489, allocations: 1.018 MB / 0.8491 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.8493, allocations: 291.7 kB / 0.8494 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.8494, allocations: 17.12 kB / 0.8494 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.8501, allocations: 82.08 kB / 0.8495 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.8502, allocations: 74.8 kB / 0.8496 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/0.8503, allocations: 36.69 kB / 0.8496 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005599/0.8509, allocations: 451.4 kB / 0.8501 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8509, allocations: 0 / 0.8501 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009665/0.8518, allocations: 322.1 kB / 0.8504 GB, free: 1.547 MB / 0.5606 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.001391/0.8532, allocations: 0.586 MB / 0.8509 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.8548, allocations: 0.8537 MB / 0.8518 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.8548, allocations: 2.906 kB / 0.8518 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008496/0.8557, allocations: 0.526 MB / 0.8523 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.8569, allocations: 274.9 kB / 0.8525 GB, free: 388 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.8609, allocations: 2.22 MB / 0.8547 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.8615, allocations: 1.031 MB / 0.8557 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009509/0.8625, allocations: 273.8 kB / 0.856 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.8628, allocations: 106.4 kB / 0.8561 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.8628, allocations: 0 / 0.8561 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.02475/0.8875, allocations: 14.17 MB / 0.8699 GB, free: 1.809 MB / 0.5762 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)