Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 106 kB / 16.36 MB, free: 6.289 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.001728/0.001728, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002286/0.002286, allocations: 286.2 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 169.3 MB / 0.4989 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 98.23 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1937, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006294/0.2001, allocations: 4.428 MB / 0.6859 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.645/0.8451, allocations: 150.6 MB / 0.833 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.8463, allocations: 19.88 kB / 0.833 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.847, allocations: 173.4 kB / 0.8332 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.8491, allocations: 0.5139 MB / 0.8337 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.8513, allocations: 0.8355 MB / 0.8345 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.8528, allocations: 1.345 MB / 0.8358 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.8539, allocations: 0.7078 MB / 0.8365 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007949/0.8547, allocations: 0.5021 MB / 0.837 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.8554, allocations: 0.5289 MB / 0.8375 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.8556, allocations: 132 kB / 0.8376 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.8566, allocations: 495.6 kB / 0.8381 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.8569, allocations: 323 kB / 0.8384 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005895/0.8575, allocations: 0.5907 MB / 0.839 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.8596, allocations: 1.704 MB / 0.8406 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8597, allocations: 3.938 kB / 0.8406 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8597, allocations: 0 / 0.8406 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.8597, allocations: 0 / 0.8406 GB, free: 11.43 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002717/0.8624, allocations: 1.493 MB / 0.8421 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8625, allocations: 8.031 kB / 0.8421 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.8641, allocations: 303.2 kB / 0.8424 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.8654, allocations: 0.7853 MB / 0.8432 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/0.8655, allocations: 77.98 kB / 0.8432 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.8656, allocations: 88 kB / 0.8433 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.8675, allocations: 1.074 MB / 0.8444 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.8675, allocations: 0 / 0.8444 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.8676, allocations: 40 kB / 0.8444 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.8677, allocations: 24 kB / 0.8444 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.87, allocations: 1.272 MB / 0.8457 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004543/0.8746, allocations: 2.688 MB / 0.8483 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.8771, allocations: 1.016 MB / 0.8493 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007619/0.8778, allocations: 358.6 kB / 0.8496 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.74e-05/0.8779, allocations: 36.59 kB / 0.8497 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.879, allocations: 0.5629 MB / 0.8502 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=84): time 2.375e-06/0.879, allocations: 4 kB / 0.8502 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.003788/0.8828, allocations: 1.384 MB / 0.8516 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.8829, allocations: 192.9 kB / 0.8517 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/0.8837, allocations: 0.6371 MB / 0.8524 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.8838, allocations: 41.7 kB / 0.8524 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.8841, allocations: 424.2 kB / 0.8528 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.8844, allocations: 276 kB / 0.8531 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.8846, allocations: 162.5 kB / 0.8532 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8848, allocations: 394.7 kB / 0.8536 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.8856, allocations: 317.8 kB / 0.8539 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/0.8864, allocations: 423 kB / 0.8543 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.888, allocations: 0.7101 MB / 0.855 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.888, allocations: 0 / 0.855 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002443/0.8905, allocations: 0.9619 MB / 0.8559 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.8905, allocations: 8 kB / 0.856 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.8905, allocations: 0 / 0.856 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.8911, allocations: 88.8 kB / 0.856 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/0.892, allocations: 187.8 kB / 0.8562 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.8942, allocations: 1.628 MB / 0.8578 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009143/0.8952, allocations: 119.4 kB / 0.8579 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.602e-05/0.8952, allocations: 39.97 kB / 0.858 GB, free: 9.156 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (98): * Single equations (assignments): 97 * 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.0005645/0.8958, allocations: 283.4 kB / 0.8582 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.896, allocations: 82.97 kB / 0.8583 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.899, allocations: 1.2 MB / 0.8595 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.899, allocations: 12 kB / 0.8595 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.899, allocations: 3.984 kB / 0.8595 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.899, allocations: 3.984 kB / 0.8595 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/0.9031, allocations: 2.141 MB / 0.8616 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9031, allocations: 0 / 0.8616 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/0.9039, allocations: 179.7 kB / 0.8618 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.9043, allocations: 76.78 kB / 0.8618 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.122e-05/0.9044, allocations: 27.98 kB / 0.8619 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.9065, allocations: 1.654 MB / 0.8635 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9065, allocations: 1.094 kB / 0.8635 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.909, allocations: 1.115 MB / 0.8646 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.9095, allocations: 279.8 kB / 0.8648 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.9096, allocations: 24 kB / 0.8649 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.9104, allocations: 87.84 kB / 0.8649 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.9106, allocations: 72.89 kB / 0.865 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.9106, allocations: 39.92 kB / 0.8651 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005881/0.9112, allocations: 471 kB / 0.8655 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9113, allocations: 0 / 0.8655 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009464/0.9122, allocations: 335 kB / 0.8658 GB, free: 0.8477 MB / 0.6231 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 (97): * Single equations (assignments): 91 * 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.001451/0.9137, allocations: 0.6162 MB / 0.8664 GB, free: 420 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002272/0.9159, allocations: 0.9485 MB / 0.8673 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.916, allocations: 0 / 0.8673 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.9171, allocations: 0.5783 MB / 0.8679 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.9183, allocations: 298.2 kB / 0.8682 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.9224, allocations: 1.885 MB / 0.87 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/0.923, allocations: 1.047 MB / 0.8711 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008125/0.9238, allocations: 282.8 kB / 0.8713 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.9241, allocations: 107.4 kB / 0.8714 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.9241, allocations: 0 / 0.8714 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.02692/0.951, allocations: 15.48 MB / 0.8865 GB, free: 11.95 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)