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.006824/0.006824, allocations: 102.7 kB / 15.73 MB, free: 6.051 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.001486/0.001486, allocations: 199.5 kB / 16.68 MB, free: 5.969 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 282.7 kB / 290.8 MB, free: 1.758 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9786/0.9786, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 95.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1603, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005592/0.1659, allocations: 4.421 MB / 0.7707 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4586/0.6245, allocations: 150.6 MB / 0.9178 GB, free: 7.547 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006818/0.6252, allocations: 19.88 kB / 0.9178 GB, free: 7.527 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005065/0.6257, allocations: 173.5 kB / 0.9179 GB, free: 7.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.6274, allocations: 0.5057 MB / 0.9184 GB, free: 6.867 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.6292, allocations: 0.8481 MB / 0.9193 GB, free: 6.055 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.6306, allocations: 1.332 MB / 0.9206 GB, free: 4.715 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009192/0.6315, allocations: 0.7109 MB / 0.9213 GB, free: 3.984 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.6322, allocations: 0.5022 MB / 0.9217 GB, free: 3.48 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.6328, allocations: 0.5366 MB / 0.9223 GB, free: 2.941 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.633, allocations: 132 kB / 0.9224 GB, free: 2.812 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008922/0.6339, allocations: 0.4897 MB / 0.9229 GB, free: 2.324 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002828/0.6342, allocations: 315 kB / 0.9232 GB, free: 2.016 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.6347, allocations: 0.5868 MB / 0.9237 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.6365, allocations: 1.709 MB / 0.9254 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6365, allocations: 0 / 0.9254 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6365, allocations: 0 / 0.9254 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.6366, allocations: 0 / 0.9254 GB, free: 15.71 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002557/0.6391, allocations: 1.493 MB / 0.9269 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.6392, allocations: 8.031 kB / 0.9269 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.6408, allocations: 303.2 kB / 0.9272 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.6421, allocations: 0.797 MB / 0.9279 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.6422, allocations: 66 kB / 0.928 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.6423, allocations: 96 kB / 0.9281 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.6442, allocations: 1.071 MB / 0.9291 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6442, allocations: 0 / 0.9291 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.6443, allocations: 45.88 kB / 0.9292 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.6444, allocations: 24 kB / 0.9292 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.6468, allocations: 1.268 MB / 0.9305 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00452/0.6513, allocations: 2.684 MB / 0.9331 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.6539, allocations: 1.017 MB / 0.9341 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007755/0.6547, allocations: 362.6 kB / 0.9344 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.324e-05/0.6548, allocations: 32.61 kB / 0.9344 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.6558, allocations: 0.5606 MB / 0.935 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.435e-06/0.6559, allocations: 4 kB / 0.935 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.003848/0.6597, allocations: 1.38 MB / 0.9363 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.6598, allocations: 188.9 kB / 0.9365 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.6606, allocations: 0.6406 MB / 0.9371 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.6607, allocations: 45.7 kB / 0.9372 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.661, allocations: 424.2 kB / 0.9376 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.6612, allocations: 272.1 kB / 0.9379 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.6615, allocations: 174.4 kB / 0.938 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6616, allocations: 386.8 kB / 0.9384 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/0.6624, allocations: 321.8 kB / 0.9387 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/0.6633, allocations: 415 kB / 0.9391 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.6649, allocations: 0.7179 MB / 0.9398 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6649, allocations: 0 / 0.9398 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002448/0.6673, allocations: 0.9625 MB / 0.9407 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6674, allocations: 7.984 kB / 0.9407 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6674, allocations: 0 / 0.9407 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.668, allocations: 88.86 kB / 0.9408 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/0.6688, allocations: 183.8 kB / 0.941 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.6708, allocations: 1.628 MB / 0.9426 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.6717, allocations: 115.3 kB / 0.9427 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.6718, allocations: 35.97 kB / 0.9427 GB, free: 13.46 MB / 0.7012 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.0004591/0.6722, allocations: 275.4 kB / 0.943 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.6724, allocations: 87.09 kB / 0.9431 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/0.6753, allocations: 1.211 MB / 0.9443 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.6754, allocations: 8 kB / 0.9443 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6754, allocations: 4 kB / 0.9443 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6754, allocations: 3.984 kB / 0.9443 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/0.6793, allocations: 2.142 MB / 0.9464 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6793, allocations: 0 / 0.9464 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.68, allocations: 179.7 kB / 0.9465 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.6805, allocations: 68.8 kB / 0.9466 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/0.6806, allocations: 27.97 kB / 0.9466 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.6824, allocations: 1.666 MB / 0.9483 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6824, allocations: 3.984 kB / 0.9483 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.685, allocations: 1.115 MB / 0.9494 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/0.6854, allocations: 276.6 kB / 0.9496 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.6856, allocations: 23.98 kB / 0.9496 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007822/0.6864, allocations: 79.92 kB / 0.9497 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.6865, allocations: 76.89 kB / 0.9498 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.292e-05/0.6866, allocations: 39.91 kB / 0.9498 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005442/0.6872, allocations: 471 kB / 0.9503 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6872, allocations: 0 / 0.9503 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008436/0.688, allocations: 327.2 kB / 0.9506 GB, free: 5.148 MB / 0.7012 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.00132/0.6893, allocations: 0.6258 MB / 0.9512 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.6915, allocations: 0.9494 MB / 0.9521 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6915, allocations: 0 / 0.9521 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.6927, allocations: 0.5822 MB / 0.9527 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.694, allocations: 293.3 kB / 0.953 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.698, allocations: 1.894 MB / 0.9548 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.6986, allocations: 1.05 MB / 0.9559 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008191/0.6994, allocations: 278.7 kB / 0.9561 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.6997, allocations: 111.4 kB / 0.9562 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/0.6997, allocations: 0 / 0.9562 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of Templates: time 0.02498/0.7247, allocations: 15.94 MB / 0.9718 GB, free: 15.77 MB / 0.7325 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)