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.0009243/0.0009243, allocations: 97.8 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.00542/0.00542, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 269.9 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 13.36 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1527, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004792/0.1575, allocations: 4.005 MB / 0.689 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4231/0.5806, allocations: 146.7 MB / 0.8323 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.5811, allocations: 15.06 kB / 0.8323 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.5816, allocations: 139.5 kB / 0.8324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.5828, allocations: 430.3 kB / 0.8328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.5846, allocations: 0.7372 MB / 0.8336 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.5858, allocations: 1.235 MB / 0.8348 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008964/0.5867, allocations: 0.6792 MB / 0.8354 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.5872, allocations: 354.8 kB / 0.8358 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.5877, allocations: 403.1 kB / 0.8361 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.5878, allocations: 27.44 kB / 0.8362 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006749/0.5884, allocations: 368.4 kB / 0.8365 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.5886, allocations: 196.9 kB / 0.8367 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.589, allocations: 480.4 kB / 0.8372 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.5903, allocations: 1.56 MB / 0.8387 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5903, allocations: 2.938 kB / 0.8387 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5903, allocations: 0 / 0.8387 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.5904, allocations: 0 / 0.8387 GB, free: 8.797 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002198/0.5926, allocations: 1.26 MB / 0.8399 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5926, allocations: 8.75 kB / 0.8399 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.5943, allocations: 325.1 kB / 0.8402 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009763/0.5952, allocations: 0.7614 MB / 0.841 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.5953, allocations: 68.56 kB / 0.8411 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.5955, allocations: 98.86 kB / 0.8411 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.5973, allocations: 1.072 MB / 0.8422 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.5974, allocations: 0 / 0.8422 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.592e-05/0.5975, allocations: 42.88 kB / 0.8422 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.5975, allocations: 21.75 kB / 0.8423 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.5997, allocations: 1.284 MB / 0.8435 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004561/0.6043, allocations: 2.751 MB / 0.8462 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.6069, allocations: 1.03 MB / 0.8472 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007618/0.6077, allocations: 367.5 kB / 0.8476 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-05/0.6078, allocations: 38.31 kB / 0.8476 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.6089, allocations: 0.5655 MB / 0.8481 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.665e-06/0.6089, allocations: 0 / 0.8481 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003949/0.6129, allocations: 1.389 MB / 0.8495 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.613, allocations: 194 kB / 0.8497 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/0.6139, allocations: 0.6433 MB / 0.8503 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.614, allocations: 43.27 kB / 0.8504 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.6143, allocations: 431.8 kB / 0.8508 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.6145, allocations: 273.4 kB / 0.851 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.6146, allocations: 66.66 kB / 0.8511 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6148, allocations: 385.8 kB / 0.8515 GB, free: 128 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/0.6156, allocations: 328.7 kB / 0.8518 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008575/0.6165, allocations: 422 kB / 0.8522 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.6181, allocations: 0.7254 MB / 0.8529 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6181, allocations: 0 / 0.8529 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002425/0.6205, allocations: 0.9676 MB / 0.8538 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6206, allocations: 5.125 kB / 0.8538 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.6206, allocations: 2.844 kB / 0.8538 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.6212, allocations: 84.33 kB / 0.8539 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/0.622, allocations: 192.4 kB / 0.8541 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.6241, allocations: 1.525 MB / 0.8556 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/0.625, allocations: 125.3 kB / 0.8557 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.6251, allocations: 36.84 kB / 0.8557 GB, free: 13.21 MB / 0.5762 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.0004908/0.6256, allocations: 276.7 kB / 0.856 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.6257, allocations: 82.22 kB / 0.8561 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.6287, allocations: 1.224 MB / 0.8573 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.6287, allocations: 12.97 kB / 0.8573 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.6287, allocations: 4 kB / 0.8573 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6287, allocations: 3.984 kB / 0.8573 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.6325, allocations: 2.158 MB / 0.8594 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.6325, allocations: 4 kB / 0.8594 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/0.6332, allocations: 170.5 kB / 0.8596 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/0.6338, allocations: 89.23 kB / 0.8597 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.6339, allocations: 27.88 kB / 0.8597 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.6357, allocations: 1.553 MB / 0.8612 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6357, allocations: 0 / 0.8612 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.6381, allocations: 1.128 MB / 0.8623 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.6385, allocations: 295.2 kB / 0.8626 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.6387, allocations: 17.72 kB / 0.8626 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/0.6395, allocations: 100.4 kB / 0.8627 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.6397, allocations: 74.2 kB / 0.8628 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.6397, allocations: 40.62 kB / 0.8628 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005422/0.6403, allocations: 464 kB / 0.8632 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6403, allocations: 4 kB / 0.8633 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008172/0.6411, allocations: 330.5 kB / 0.8636 GB, free: 7.914 MB / 0.5762 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.001321/0.6424, allocations: 0.6108 MB / 0.8642 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002096/0.6446, allocations: 0.9522 MB / 0.8651 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6446, allocations: 4 kB / 0.8651 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.6458, allocations: 0.586 MB / 0.8657 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6471, allocations: 267 kB / 0.8659 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.6516, allocations: 2.422 MB / 0.8683 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.6522, allocations: 1.055 MB / 0.8693 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009318/0.6531, allocations: 278.8 kB / 0.8696 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.6534, allocations: 115.4 kB / 0.8697 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.6534, allocations: 0 / 0.8697 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of Templates: time 0.02405/0.6775, allocations: 14.75 MB / 0.8841 GB, free: 3.742 MB / 0.5919 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)