Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.01252/0.01252, allocations: 97.66 kB / 15.73 MB, free: 6.02 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.002016/0.002016, allocations: 186.5 kB / 16.67 MB, free: 5.941 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.96/0.96, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.28 kB / 0.5856 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1795, allocations: 80.93 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005881/0.1854, allocations: 4.193 MB / 0.6687 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6124/0.7978, allocations: 150.5 MB / 0.8157 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.7989, allocations: 16.31 kB / 0.8157 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.7997, allocations: 168 kB / 0.8159 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.8017, allocations: 484.5 kB / 0.8163 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.8037, allocations: 0.8084 MB / 0.8171 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.8051, allocations: 1.21 MB / 0.8183 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000913/0.806, allocations: 0.7041 MB / 0.819 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005875/0.8066, allocations: 459.9 kB / 0.8194 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005114/0.8071, allocations: 494.4 kB / 0.8199 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.8073, allocations: 115.2 kB / 0.82 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009584/0.8082, allocations: 486 kB / 0.8205 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.8085, allocations: 292.9 kB / 0.8208 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004745/0.809, allocations: 0.5363 MB / 0.8213 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.8109, allocations: 1.598 MB / 0.8228 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.8109, allocations: 0 / 0.8228 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8109, allocations: 0 / 0.8228 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.8109, allocations: 0 / 0.8228 GB, free: 5.168 MB / 0.5919 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.002309/0.8132, allocations: 1.428 MB / 0.8242 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.8133, allocations: 11.7 kB / 0.8242 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.8149, allocations: 306.1 kB / 0.8245 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.816, allocations: 0.7543 MB / 0.8253 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.8161, allocations: 71.28 kB / 0.8253 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.8162, allocations: 90 kB / 0.8254 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.818, allocations: 1.007 MB / 0.8264 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.818, allocations: 4 kB / 0.8264 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.205e-05/0.8181, allocations: 38.19 kB / 0.8264 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.8181, allocations: 22.44 kB / 0.8265 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.8203, allocations: 1.22 MB / 0.8277 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.8243, allocations: 2.542 MB / 0.8301 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.8268, allocations: 0.9339 MB / 0.8311 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.8275, allocations: 333.7 kB / 0.8314 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-05/0.8276, allocations: 35.86 kB / 0.8314 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009744/0.8286, allocations: 485.8 kB / 0.8319 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=75): time 2.154e-06/0.8286, allocations: 0 / 0.8319 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75): time 0.003511/0.8321, allocations: 1.236 MB / 0.8331 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.8322, allocations: 198.6 kB / 0.8333 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.833, allocations: 0.6003 MB / 0.8339 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.8331, allocations: 40.52 kB / 0.8339 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.8334, allocations: 406.8 kB / 0.8343 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.8336, allocations: 263.9 kB / 0.8345 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.8339, allocations: 156.1 kB / 0.8347 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.834, allocations: 388.6 kB / 0.835 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.8347, allocations: 288.6 kB / 0.8353 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007707/0.8355, allocations: 379.3 kB / 0.8357 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.837, allocations: 0.6573 MB / 0.8363 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.837, allocations: 0 / 0.8363 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002188/0.8392, allocations: 0.8851 MB / 0.8372 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.8392, allocations: 5.031 kB / 0.8372 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8392, allocations: 8.078 kB / 0.8372 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.8398, allocations: 77.72 kB / 0.8373 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.8405, allocations: 177.2 kB / 0.8374 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.8427, allocations: 1.636 MB / 0.839 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.8435, allocations: 100.5 kB / 0.8391 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.8436, allocations: 38.72 kB / 0.8392 GB, free: 9.848 MB / 0.6075 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.0004701/0.8441, allocations: 260.9 kB / 0.8394 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.8442, allocations: 80.98 kB / 0.8395 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/0.8469, allocations: 1.105 MB / 0.8406 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.8469, allocations: 10 kB / 0.8406 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8469, allocations: 3.938 kB / 0.8406 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.8469, allocations: 3.984 kB / 0.8406 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/0.8505, allocations: 2.025 MB / 0.8426 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.8505, allocations: 0 / 0.8426 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006679/0.8512, allocations: 162 kB / 0.8427 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/0.8517, allocations: 73.84 kB / 0.8428 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.8517, allocations: 28.14 kB / 0.8428 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.8536, allocations: 1.675 MB / 0.8445 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8536, allocations: 0 / 0.8445 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.8559, allocations: 1.025 MB / 0.8455 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.8562, allocations: 264.2 kB / 0.8457 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.8564, allocations: 20 kB / 0.8457 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/0.8571, allocations: 71.92 kB / 0.8458 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.8572, allocations: 60.91 kB / 0.8459 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.8573, allocations: 39.98 kB / 0.8459 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000556/0.8578, allocations: 438.3 kB / 0.8463 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8578, allocations: 0 / 0.8463 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001034/0.8589, allocations: 315.1 kB / 0.8466 GB, free: 4.039 MB / 0.6075 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.00157/0.8605, allocations: 0.5907 MB / 0.8472 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.8626, allocations: 0.8665 MB / 0.848 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8626, allocations: 0 / 0.848 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.8637, allocations: 0.5471 MB / 0.8486 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.865, allocations: 284.9 kB / 0.8489 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.8689, allocations: 1.812 MB / 0.8506 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.8695, allocations: 1.023 MB / 0.8516 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008526/0.8704, allocations: 262.3 kB / 0.8519 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.8707, allocations: 103.4 kB / 0.852 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.8707, allocations: 0 / 0.852 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.02611/0.8968, allocations: 14.55 MB / 0.8662 GB, free: 260 kB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)