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.00112/0.001121, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.001361, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.14 kB / 0.5053 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1838, allocations: 80.92 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006281/0.1901, allocations: 4.139 MB / 0.5884 GB, free: 428 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5335/0.7236, allocations: 150.5 MB / 0.7354 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008376/0.7245, allocations: 16.44 kB / 0.7354 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000722/0.7253, allocations: 171.5 kB / 0.7355 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.7271, allocations: 468.3 kB / 0.736 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.7296, allocations: 0.8011 MB / 0.7368 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.7316, allocations: 1.186 MB / 0.7379 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.7329, allocations: 0.6741 MB / 0.7386 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008371/0.7338, allocations: 460.5 kB / 0.739 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009958/0.7348, allocations: 486.3 kB / 0.7395 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.7353, allocations: 113.8 kB / 0.7396 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.7367, allocations: 452 kB / 0.74 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004758/0.7372, allocations: 293 kB / 0.7403 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007753/0.738, allocations: 0.5218 MB / 0.7408 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.7401, allocations: 1.528 MB / 0.7423 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7401, allocations: 0 / 0.7423 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7401, allocations: 0 / 0.7423 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.7401, allocations: 1.375 kB / 0.7423 GB, free: 8.332 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.002291/0.7424, allocations: 1.382 MB / 0.7437 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7425, allocations: 9.625 kB / 0.7437 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.7436, allocations: 204.8 kB / 0.7439 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.7446, allocations: 0.7288 MB / 0.7446 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.7447, allocations: 68.16 kB / 0.7446 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.7448, allocations: 90.38 kB / 0.7447 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.7464, allocations: 0.94 MB / 0.7456 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.7464, allocations: 2.344 kB / 0.7457 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.7465, allocations: 36.44 kB / 0.7457 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.7465, allocations: 20.75 kB / 0.7457 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.7483, allocations: 1.131 MB / 0.7468 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/0.7526, allocations: 2.472 MB / 0.7492 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.7548, allocations: 0.8786 MB / 0.7501 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/0.7553, allocations: 291.2 kB / 0.7504 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.7554, allocations: 28.69 kB / 0.7504 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000909/0.7563, allocations: 446.5 kB / 0.7508 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.7563, allocations: 0 / 0.7508 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003207/0.7596, allocations: 1.088 MB / 0.7519 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.7597, allocations: 194.8 kB / 0.7521 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009638/0.7607, allocations: 0.6017 MB / 0.7526 GB, free: 160 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.7608, allocations: 45.64 kB / 0.7527 GB, free: 108 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/0.7613, allocations: 396.2 kB / 0.7531 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.7616, allocations: 244.5 kB / 0.7533 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.7618, allocations: 150.5 kB / 0.7534 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.7621, allocations: 382.7 kB / 0.7538 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.7626, allocations: 241.9 kB / 0.754 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.7632, allocations: 334.2 kB / 0.7544 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.7644, allocations: 0.5721 MB / 0.7549 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7644, allocations: 0 / 0.7549 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001939/0.7664, allocations: 0.7902 MB / 0.7557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.7664, allocations: 4 kB / 0.7557 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7664, allocations: 3.938 kB / 0.7557 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/0.767, allocations: 84.86 kB / 0.7558 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.7676, allocations: 151.8 kB / 0.7559 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.7701, allocations: 1.627 MB / 0.7575 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/0.7709, allocations: 85.52 kB / 0.7576 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.7709, allocations: 34.03 kB / 0.7576 GB, free: 10.86 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.0004816/0.7714, allocations: 257.9 kB / 0.7579 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.7716, allocations: 83.06 kB / 0.758 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.7738, allocations: 0.9956 MB / 0.7589 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.7739, allocations: 8 kB / 0.7589 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.7739, allocations: 0 / 0.7589 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.7739, allocations: 7.984 kB / 0.7589 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.7771, allocations: 1.905 MB / 0.7608 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.7771, allocations: 0 / 0.7608 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.7777, allocations: 144.5 kB / 0.7609 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.7782, allocations: 76.72 kB / 0.761 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.7782, allocations: 23.98 kB / 0.761 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.7801, allocations: 1.666 MB / 0.7627 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7801, allocations: 3.938 kB / 0.7627 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.782, allocations: 0.9103 MB / 0.7636 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.7824, allocations: 259.8 kB / 0.7638 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7825, allocations: 16 kB / 0.7638 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.7831, allocations: 59.94 kB / 0.7639 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.7832, allocations: 56.92 kB / 0.7639 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.7833, allocations: 31.97 kB / 0.764 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005422/0.7838, allocations: 439 kB / 0.7644 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7838, allocations: 0 / 0.7644 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000881/0.7847, allocations: 304.5 kB / 0.7647 GB, free: 3.387 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.001288/0.786, allocations: 0.5965 MB / 0.7653 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.7883, allocations: 0.9594 MB / 0.7662 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7884, allocations: 0 / 0.7662 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008941/0.7893, allocations: 0.489 MB / 0.7667 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.7905, allocations: 294.7 kB / 0.7669 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.7947, allocations: 1.738 MB / 0.7686 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.7954, allocations: 1.015 MB / 0.7696 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009953/0.7964, allocations: 258.2 kB / 0.7699 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.7967, allocations: 95.39 kB / 0.77 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/0.7967, allocations: 0 / 0.77 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of Templates: time 0.02416/0.8209, allocations: 14.08 MB / 0.7837 GB, free: 196 kB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (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)