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.001106/0.001106, allocations: 103.4 kB / 16.35 MB, free: 5.879 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.001329/0.001329, allocations: 198.7 kB / 17.3 MB, free: 5.52 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8844/0.8844, allocations: 132.2 MB / 423.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.09 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3949, allocations: 80.19 MB / 0.5815 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005544/0.4005, allocations: 4.15 MB / 0.5855 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1579/0.5585, allocations: 150.5 MB / 0.7325 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009336/0.5594, allocations: 19.88 kB / 0.7325 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.5601, allocations: 166.5 kB / 0.7327 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.5622, allocations: 484.6 kB / 0.7331 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.5646, allocations: 0.8012 MB / 0.7339 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.5659, allocations: 1.184 MB / 0.7351 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009766/0.5669, allocations: 0.6887 MB / 0.7357 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/0.5675, allocations: 458.4 kB / 0.7362 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.568, allocations: 477.8 kB / 0.7366 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.5681, allocations: 112 kB / 0.7367 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009576/0.5691, allocations: 487.6 kB / 0.7372 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.5694, allocations: 291 kB / 0.7375 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.5698, allocations: 0.5323 MB / 0.738 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.5716, allocations: 1.561 MB / 0.7395 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5716, allocations: 0 / 0.7395 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5716, allocations: 0 / 0.7395 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.5716, allocations: 4 kB / 0.7395 GB, free: 11.83 MB / 0.5762 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.002264/0.5739, allocations: 1.381 MB / 0.7409 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5739, allocations: 12.03 kB / 0.7409 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.575, allocations: 207.4 kB / 0.7411 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.5761, allocations: 0.7384 MB / 0.7418 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.5762, allocations: 69.94 kB / 0.7419 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.5763, allocations: 88 kB / 0.742 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5778, allocations: 0.9448 MB / 0.7429 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5779, allocations: 0 / 0.7429 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.5779, allocations: 43.98 kB / 0.7429 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.578, allocations: 24 kB / 0.743 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.5798, allocations: 1.124 MB / 0.744 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.5836, allocations: 2.441 MB / 0.7464 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.5857, allocations: 0.8901 MB / 0.7473 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.5862, allocations: 278.7 kB / 0.7476 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.5863, allocations: 40.61 kB / 0.7476 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007225/0.587, allocations: 435.3 kB / 0.748 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.384e-06/0.587, allocations: 0 / 0.748 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002839/0.5899, allocations: 1.092 MB / 0.7491 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/0.59, allocations: 188.6 kB / 0.7493 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000693/0.5907, allocations: 0.6017 MB / 0.7499 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.5907, allocations: 41.7 kB / 0.7499 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.591, allocations: 400.2 kB / 0.7503 GB, free: 500 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.5912, allocations: 244.4 kB / 0.7505 GB, free: 252 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.5915, allocations: 150.5 kB / 0.7507 GB, free: 92 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2948/0.8863, allocations: 383 kB / 0.751 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008457/0.8872, allocations: 240 kB / 0.7512 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/0.8879, allocations: 338 kB / 0.7516 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.889, allocations: 0.5622 MB / 0.7521 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.889, allocations: 5.031 kB / 0.7521 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001999/0.891, allocations: 0.7869 MB / 0.7529 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.891, allocations: 6.031 kB / 0.7529 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.8911, allocations: 0.9062 kB / 0.7529 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.8917, allocations: 81.44 kB / 0.753 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.8923, allocations: 154.1 kB / 0.7531 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.8942, allocations: 1.621 MB / 0.7547 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/0.8949, allocations: 83.86 kB / 0.7548 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.895, allocations: 40.14 kB / 0.7548 GB, free: 164.9 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.0004221/0.8954, allocations: 260.5 kB / 0.7551 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.8956, allocations: 79.72 kB / 0.7551 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.8981, allocations: 0.9965 MB / 0.7561 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.8981, allocations: 8.875 kB / 0.7561 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.8981, allocations: 0 / 0.7561 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.8981, allocations: 5.016 kB / 0.7561 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.9016, allocations: 1.9 MB / 0.758 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9016, allocations: 2.156 kB / 0.758 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.9023, allocations: 148.6 kB / 0.7581 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004949/0.9028, allocations: 69.36 kB / 0.7582 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.9029, allocations: 24.73 kB / 0.7582 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.9049, allocations: 1.658 MB / 0.7598 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9049, allocations: 0 / 0.7598 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.907, allocations: 0.9249 MB / 0.7607 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.9073, allocations: 262.7 kB / 0.761 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.9074, allocations: 17 kB / 0.761 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005421/0.908, allocations: 58.56 kB / 0.7611 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.9081, allocations: 61.31 kB / 0.7611 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.9082, allocations: 30.45 kB / 0.7612 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000504/0.9087, allocations: 438.8 kB / 0.7616 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9087, allocations: 0 / 0.7616 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009272/0.9096, allocations: 299.9 kB / 0.7619 GB, free: 160.7 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: 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.001319/0.911, allocations: 0.5922 MB / 0.7624 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.9125, allocations: 0.7731 MB / 0.7632 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.9125, allocations: 6.5 kB / 0.7632 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008504/0.9134, allocations: 498.1 kB / 0.7637 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.9145, allocations: 295.3 kB / 0.764 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.9182, allocations: 1.711 MB / 0.7656 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.9187, allocations: 1.016 MB / 0.7666 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007443/0.9194, allocations: 258.6 kB / 0.7669 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.9197, allocations: 102.6 kB / 0.767 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.9197, allocations: 1.25 kB / 0.767 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.01944/0.9391, allocations: 14.06 MB / 0.7807 GB, free: 144.8 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)