Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001005/0.001006, allocations: 97.64 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.006889/0.00689, allocations: 169.6 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8365/0.8365, allocations: 132.4 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003688, allocations: 15.98 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4241, allocations: 81.58 MB / 0.5837 GB, free: 4.301 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004281/0.4284, allocations: 3.754 MB / 0.5873 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1775/0.6059, allocations: 146.6 MB / 0.7305 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007902/0.6067, allocations: 19.88 kB / 0.7305 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.6073, allocations: 138.9 kB / 0.7306 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.6086, allocations: 393.1 kB / 0.731 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.6104, allocations: 0.6999 MB / 0.7317 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.6117, allocations: 1.106 MB / 0.7328 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.6128, allocations: 0.6502 MB / 0.7334 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005792/0.6133, allocations: 306.4 kB / 0.7337 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.6139, allocations: 338 kB / 0.734 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.614, allocations: 20 kB / 0.734 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008112/0.6148, allocations: 363.6 kB / 0.7344 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.615, allocations: 187.1 kB / 0.7345 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.6156, allocations: 430.9 kB / 0.735 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.6176, allocations: 1.421 MB / 0.7363 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6176, allocations: 0 / 0.7363 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6176, allocations: 0 / 0.7363 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.649e-05/0.6177, allocations: 0 / 0.7363 GB, free: 3.707 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002207/0.6199, allocations: 1.172 MB / 0.7375 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6199, allocations: 12.03 kB / 0.7375 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.621, allocations: 215.4 kB / 0.7377 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.6221, allocations: 0.7227 MB / 0.7384 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.36e-05/0.6222, allocations: 73.98 kB / 0.7385 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.6223, allocations: 88 kB / 0.7386 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.624, allocations: 0.9526 MB / 0.7395 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.624, allocations: 0 / 0.7395 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/0.6241, allocations: 43.94 kB / 0.7395 GB, free: 312 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.6241, allocations: 20 kB / 0.7396 GB, free: 292 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.626, allocations: 1.136 MB / 0.7407 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.6299, allocations: 2.503 MB / 0.7431 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.6322, allocations: 0.8884 MB / 0.744 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.6327, allocations: 286.7 kB / 0.7443 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.585e-05/0.6328, allocations: 40.61 kB / 0.7443 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008243/0.6337, allocations: 439.3 kB / 0.7447 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 3.747e-06/0.6337, allocations: 0 / 0.7447 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002997/0.6367, allocations: 1.108 MB / 0.7458 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6368, allocations: 196.6 kB / 0.746 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.6376, allocations: 0.6017 MB / 0.7466 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.6376, allocations: 41.7 kB / 0.7466 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.638, allocations: 392.2 kB / 0.747 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.6382, allocations: 248.4 kB / 0.7472 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.6383, allocations: 65.69 kB / 0.7473 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6385, allocations: 378.7 kB / 0.7476 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.639, allocations: 249.8 kB / 0.7479 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.6397, allocations: 335.1 kB / 0.7482 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.6408, allocations: 0.5799 MB / 0.7488 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6408, allocations: 4 kB / 0.7488 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001872/0.6427, allocations: 0.7942 MB / 0.7495 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.6427, allocations: 4 kB / 0.7496 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6427, allocations: 3.984 kB / 0.7496 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/0.6433, allocations: 80.88 kB / 0.7496 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.644, allocations: 151.8 kB / 0.7498 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.6461, allocations: 1.521 MB / 0.7513 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.6468, allocations: 95.42 kB / 0.7514 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.6469, allocations: 35.97 kB / 0.7514 GB, free: 3.77 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: 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 (84): * Single equations (assignments): 83 * 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.0004815/0.6474, allocations: 258.5 kB / 0.7516 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.6475, allocations: 79 kB / 0.7517 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.65, allocations: 1.006 MB / 0.7527 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.65, allocations: 8 kB / 0.7527 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.65, allocations: 0 / 0.7527 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.65, allocations: 7.984 kB / 0.7527 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.6536, allocations: 1.915 MB / 0.7546 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.6536, allocations: 0 / 0.7546 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.6542, allocations: 147.7 kB / 0.7547 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005171/0.6547, allocations: 84.77 kB / 0.7548 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.6548, allocations: 27.92 kB / 0.7548 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.6567, allocations: 1.544 MB / 0.7563 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.6567, allocations: 4.031 kB / 0.7563 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.6587, allocations: 0.9258 MB / 0.7572 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.6591, allocations: 271.7 kB / 0.7575 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.994e-05/0.6592, allocations: 20.06 kB / 0.7575 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.6598, allocations: 72.53 kB / 0.7576 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.66, allocations: 68.84 kB / 0.7577 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.66, allocations: 31.98 kB / 0.7577 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005454/0.6606, allocations: 439 kB / 0.7581 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6606, allocations: 0 / 0.7581 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008495/0.6614, allocations: 299.2 kB / 0.7584 GB, free: 12.34 MB / 0.5919 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 (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.001388/0.6628, allocations: 0.5955 MB / 0.759 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.6645, allocations: 0.769 MB / 0.7597 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.6645, allocations: 4 kB / 0.7597 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008743/0.6654, allocations: 0.4963 MB / 0.7602 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.6667, allocations: 249.3 kB / 0.7604 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.6707, allocations: 2.206 MB / 0.7626 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.6713, allocations: 1.023 MB / 0.7636 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008519/0.6721, allocations: 253.6 kB / 0.7638 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.6724, allocations: 107.4 kB / 0.7639 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.6724, allocations: 0 / 0.7639 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of Templates: time 0.02325/0.6957, allocations: 13.46 MB / 0.7771 GB, free: 9.52 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)