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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7525/0.7525, allocations: 143.4 MB / 159.2 MB, free: 4.859 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 180.5 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 111.5 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 284.4 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 75.89 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3825, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004946/0.3875, allocations: 4.185 MB / 0.772 GB, free: 23.45 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5309/0.9184, allocations: 148.2 MB / 0.9167 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009207/0.9194, allocations: 17.03 kB / 0.9167 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.92, allocations: 138.2 kB / 0.9169 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.9215, allocations: 401.3 kB / 0.9172 GB, free: 15.92 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.9235, allocations: 0.6991 MB / 0.9179 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.9252, allocations: 1.142 MB / 0.919 GB, free: 15.89 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009513/0.9261, allocations: 0.6831 MB / 0.9197 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.9268, allocations: 411.2 kB / 0.9201 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.9273, allocations: 463.7 kB / 0.9205 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.9275, allocations: 61.88 kB / 0.9206 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009143/0.9284, allocations: 402.7 kB / 0.921 GB, free: 15.73 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.9287, allocations: 240.6 kB / 0.9212 GB, free: 15.73 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005362/0.9292, allocations: 495.1 kB / 0.9217 GB, free: 15.73 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.9307, allocations: 1.496 MB / 0.9232 GB, free: 15.64 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9307, allocations: 3.281 kB / 0.9232 GB, free: 15.64 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9307, allocations: 4 kB / 0.9232 GB, free: 15.64 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.9307, allocations: 0 / 0.9232 GB, free: 15.64 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002263/0.933, allocations: 1.393 MB / 0.9245 GB, free: 14.89 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.9331, allocations: 8.188 kB / 0.9245 GB, free: 14.89 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.9347, allocations: 290.9 kB / 0.9248 GB, free: 14.83 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/0.9357, allocations: 0.7348 MB / 0.9255 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.9357, allocations: 66.16 kB / 0.9256 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.9359, allocations: 85.94 kB / 0.9257 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.9376, allocations: 1.017 MB / 0.9267 GB, free: 14.38 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.9376, allocations: 0 / 0.9267 GB, free: 14.38 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.9377, allocations: 35.56 kB / 0.9267 GB, free: 14.38 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.9377, allocations: 24.16 kB / 0.9267 GB, free: 14.38 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.94, allocations: 1.221 MB / 0.9279 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004554/0.9446, allocations: 2.574 MB / 0.9304 GB, free: 13.63 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.9469, allocations: 0.9341 MB / 0.9313 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/0.9477, allocations: 338 kB / 0.9317 GB, free: 13.48 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.132e-05/0.9478, allocations: 37.7 kB / 0.9317 GB, free: 13.47 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.9489, allocations: 486.7 kB / 0.9322 GB, free: 13.4 MB / 0.573 GB Notification: Performance of pre-optimization done (n=75): time 3.997e-06/0.949, allocations: 0 / 0.9322 GB, free: 13.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=75): time 0.004042/0.953, allocations: 1.237 MB / 0.9334 GB, free: 13.19 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.9531, allocations: 188.5 kB / 0.9335 GB, free: 12.97 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/0.9539, allocations: 0.5938 MB / 0.9341 GB, free: 12.85 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.954, allocations: 41.59 kB / 0.9342 GB, free: 12.82 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.9543, allocations: 406.3 kB / 0.9346 GB, free: 12.62 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.9545, allocations: 249.1 kB / 0.9348 GB, free: 12.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.9548, allocations: 148.2 kB / 0.9349 GB, free: 12.45 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.9549, allocations: 392 kB / 0.9353 GB, free: 12.12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006618/0.9556, allocations: 285.5 kB / 0.9356 GB, free: 12.12 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.9564, allocations: 390 kB / 0.9359 GB, free: 12.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.9578, allocations: 0.6546 MB / 0.9366 GB, free: 12.01 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.9578, allocations: 0 / 0.9366 GB, free: 12.01 MB / 0.573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002291/0.9601, allocations: 0.882 MB / 0.9374 GB, free: 11.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.9601, allocations: 6.906 kB / 0.9375 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9601, allocations: 3.75 kB / 0.9375 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.9607, allocations: 83.05 kB / 0.9375 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.9614, allocations: 177.4 kB / 0.9377 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.9635, allocations: 1.521 MB / 0.9392 GB, free: 10.58 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008256/0.9643, allocations: 102.4 kB / 0.9393 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.9644, allocations: 33.91 kB / 0.9393 GB, free: 10.55 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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.0004651/0.9649, allocations: 256.7 kB / 0.9396 GB, free: 10.43 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.965, allocations: 87.06 kB / 0.9397 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.9676, allocations: 1.095 MB / 0.9407 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.9677, allocations: 15.3 kB / 0.9407 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9677, allocations: 6.297 kB / 0.9407 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.9677, allocations: 2.297 kB / 0.9407 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.9713, allocations: 2.035 MB / 0.9427 GB, free: 9.867 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.9714, allocations: 7.016 kB / 0.9427 GB, free: 9.863 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.972, allocations: 170.8 kB / 0.9429 GB, free: 9.859 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004984/0.9725, allocations: 88.77 kB / 0.943 GB, free: 9.848 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.9726, allocations: 21.33 kB / 0.943 GB, free: 9.848 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.9743, allocations: 1.539 MB / 0.9445 GB, free: 8.555 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9744, allocations: 0 / 0.9445 GB, free: 8.555 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.9778, allocations: 2.09 MB / 0.9465 GB, free: 7.723 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.9782, allocations: 257.7 kB / 0.9468 GB, free: 7.578 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9784, allocations: 22.72 kB / 0.9468 GB, free: 7.574 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.9791, allocations: 74.22 kB / 0.9469 GB, free: 7.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.9792, allocations: 59.84 kB / 0.9469 GB, free: 7.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.9793, allocations: 30.77 kB / 0.947 GB, free: 7.57 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005022/0.9798, allocations: 440.4 kB / 0.9474 GB, free: 7.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9798, allocations: 0 / 0.9474 GB, free: 7.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009791/0.9808, allocations: 312.5 kB / 0.9477 GB, free: 7.426 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001295/0.9821, allocations: 0.6081 MB / 0.9483 GB, free: 7.203 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.9841, allocations: 0.8705 MB / 0.9491 GB, free: 7.055 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.9841, allocations: 0 / 0.9491 GB, free: 7.055 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.9852, allocations: 0.5321 MB / 0.9497 GB, free: 6.938 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.9864, allocations: 270.2 kB / 0.9499 GB, free: 6.914 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.9909, allocations: 2.667 MB / 0.9525 GB, free: 5.621 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.9915, allocations: 1.043 MB / 0.9535 GB, free: 4.906 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008961/0.9924, allocations: 272 kB / 0.9538 GB, free: 4.82 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.9927, allocations: 98.77 kB / 0.9539 GB, free: 4.812 MB / 0.573 GB Notification: Performance of SimCode: time 7.12e-07/0.9927, allocations: 1.203 kB / 0.9539 GB, free: 4.812 MB / 0.573 GB Notification: Performance of Templates: time 0.02221/1.015, allocations: 14.24 MB / 0.9678 GB, free: 13.85 MB / 0.5886 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)