Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008365/0.0008365, allocations: 99 kB / 15.05 MB, free: 1.105 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.0008493/0.0008493, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8719/0.8719, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002796, allocations: 8 kB / 0.5068 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 82.31 MB / 0.5872 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003979/0.1544, allocations: 3.483 MB / 0.5906 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4018/0.5563, allocations: 127.4 MB / 0.7151 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005291/0.5569, allocations: 17.81 kB / 0.7151 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.5572, allocations: 71.66 kB / 0.7151 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.5585, allocations: 458.3 kB / 0.7156 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.5601, allocations: 0.612 MB / 0.7162 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.5612, allocations: 0.7427 MB / 0.7169 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008175/0.562, allocations: 0.5278 MB / 0.7174 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005138/0.5625, allocations: 312.5 kB / 0.7177 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.563, allocations: 302.5 kB / 0.718 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.563, allocations: 20.78 kB / 0.718 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.5639, allocations: 304.7 kB / 0.7183 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.5641, allocations: 168.2 kB / 0.7185 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.5643, allocations: 186.9 kB / 0.7187 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.5658, allocations: 1.124 MB / 0.7198 GB, free: 13.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.5658, allocations: 0 / 0.7198 GB, free: 13.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5658, allocations: 1.125 kB / 0.7198 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.5658, allocations: 0 / 0.7198 GB, free: 13.16 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001965/0.5678, allocations: 1.181 MB / 0.7209 GB, free: 12.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5678, allocations: 8.781 kB / 0.7209 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.5688, allocations: 223.6 kB / 0.7211 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.5698, allocations: 0.7005 MB / 0.7218 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.5699, allocations: 67.17 kB / 0.7219 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.57, allocations: 88.69 kB / 0.722 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.5716, allocations: 0.9344 MB / 0.7229 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.5716, allocations: 0.7031 kB / 0.7229 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.5717, allocations: 41.62 kB / 0.7229 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.5717, allocations: 20.97 kB / 0.7229 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.5735, allocations: 1.13 MB / 0.724 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.5772, allocations: 2.51 MB / 0.7265 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.5793, allocations: 0.884 MB / 0.7274 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.876e-05/0.5793, allocations: 32.38 kB / 0.7274 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007398/0.5801, allocations: 439.3 kB / 0.7278 GB, free: 9.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.445e-06/0.5801, allocations: 0 / 0.7278 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002566/0.5827, allocations: 1.104 MB / 0.7289 GB, free: 8.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.5828, allocations: 193.7 kB / 0.7291 GB, free: 8.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.5834, allocations: 0.5898 MB / 0.7296 GB, free: 8.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.5835, allocations: 40.42 kB / 0.7297 GB, free: 8.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.5838, allocations: 406.7 kB / 0.7301 GB, free: 7.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.5839, allocations: 241.7 kB / 0.7303 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.584, allocations: 15.12 kB / 0.7303 GB, free: 7.602 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5841, allocations: 379.2 kB / 0.7307 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.5846, allocations: 223.9 kB / 0.7309 GB, free: 7.188 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.5851, allocations: 328.2 kB / 0.7312 GB, free: 7.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.5855, allocations: 264.9 kB / 0.7315 GB, free: 6.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5855, allocations: 0 / 0.7315 GB, free: 6.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001501/0.587, allocations: 0.743 MB / 0.7322 GB, free: 6.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5871, allocations: 6.312 kB / 0.7322 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.5871, allocations: 0 / 0.7322 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.5876, allocations: 87.48 kB / 0.7323 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.5882, allocations: 138.9 kB / 0.7324 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.5899, allocations: 1.535 MB / 0.7339 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.5905, allocations: 89.25 kB / 0.734 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.5906, allocations: 31.56 kB / 0.734 GB, free: 5.094 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003721/0.5909, allocations: 250.7 kB / 0.7343 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.5911, allocations: 80.94 kB / 0.7343 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.5931, allocations: 1.009 MB / 0.7353 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.5931, allocations: 8 kB / 0.7353 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.5932, allocations: 0 / 0.7353 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5932, allocations: 7.031 kB / 0.7353 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.5961, allocations: 1.91 MB / 0.7372 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5961, allocations: 0 / 0.7372 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.5967, allocations: 143.8 kB / 0.7373 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.5971, allocations: 92.69 kB / 0.7374 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.5972, allocations: 23.98 kB / 0.7374 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.5988, allocations: 1.558 MB / 0.739 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5988, allocations: 3.984 kB / 0.739 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.6005, allocations: 0.9258 MB / 0.7399 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.6008, allocations: 267.8 kB / 0.7401 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.601, allocations: 20 kB / 0.7401 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.6015, allocations: 67.94 kB / 0.7402 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.6016, allocations: 64.91 kB / 0.7403 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.6017, allocations: 31.98 kB / 0.7403 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004751/0.6022, allocations: 439 kB / 0.7407 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6022, allocations: 3.938 kB / 0.7407 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007829/0.603, allocations: 291.2 kB / 0.741 GB, free: 14.32 MB / 0.5606 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 (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.6041, allocations: 0.5973 MB / 0.7416 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.6054, allocations: 0.7308 MB / 0.7423 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6055, allocations: 4.188 kB / 0.7423 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007755/0.6062, allocations: 0.489 MB / 0.7428 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/0.6072, allocations: 236.3 kB / 0.743 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.6107, allocations: 2.122 MB / 0.7451 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.6113, allocations: 1.035 MB / 0.7461 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007288/0.612, allocations: 254.2 kB / 0.7463 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.6122, allocations: 99.39 kB / 0.7464 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.6122, allocations: 0 / 0.7464 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of Templates: time 0.02045/0.6327, allocations: 13.06 MB / 0.7592 GB, free: 11.99 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) Environment - environmentSimulation: