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-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_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.0009731/0.000973, allocations: 100.1 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.000935/0.0009352, 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.486/1.486, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.034/1.034, allocations: 135.2 MB / 426.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004213, allocations: 11.31 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 82.3 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005383/0.2422, allocations: 3.483 MB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5287/0.7709, allocations: 127.5 MB / 0.7151 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007897/0.7718, allocations: 14.44 kB / 0.7151 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.7722, allocations: 70.36 kB / 0.7151 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.7738, allocations: 462.2 kB / 0.7156 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.7762, allocations: 0.6048 MB / 0.7162 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.7781, allocations: 0.7457 MB / 0.7169 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.7792, allocations: 0.5275 MB / 0.7174 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006844/0.7799, allocations: 305.3 kB / 0.7177 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.7803, allocations: 299.8 kB / 0.718 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.347e-05/0.7804, allocations: 25.09 kB / 0.718 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.7814, allocations: 301.5 kB / 0.7183 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.7817, allocations: 170.8 kB / 0.7185 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.7819, allocations: 183.9 kB / 0.7186 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.7838, allocations: 1.135 MB / 0.7198 GB, free: 13.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7838, allocations: 0 / 0.7198 GB, free: 13.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7839, allocations: 0 / 0.7198 GB, free: 13.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.7839, allocations: 1.219 kB / 0.7198 GB, free: 13.07 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.002491/0.7864, allocations: 1.174 MB / 0.7209 GB, free: 12.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.7864, allocations: 9.188 kB / 0.7209 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.7876, allocations: 222.7 kB / 0.7211 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.7889, allocations: 0.7017 MB / 0.7218 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.789, allocations: 66.16 kB / 0.7219 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.7891, allocations: 87.88 kB / 0.722 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.7909, allocations: 0.9383 MB / 0.7229 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.791, allocations: 0 / 0.7229 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/0.7911, allocations: 37.5 kB / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.7911, allocations: 21.59 kB / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.7931, allocations: 1.126 MB / 0.724 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/0.7977, allocations: 2.513 MB / 0.7265 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.7999, allocations: 0.8885 MB / 0.7273 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-05/0.8, allocations: 32.48 kB / 0.7274 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008534/0.8009, allocations: 440 kB / 0.7278 GB, free: 9.023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.946e-06/0.8009, allocations: 0 / 0.7278 GB, free: 9.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002821/0.8037, allocations: 1.105 MB / 0.7289 GB, free: 8.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.8038, allocations: 191.5 kB / 0.7291 GB, free: 8.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007784/0.8046, allocations: 0.589 MB / 0.7296 GB, free: 8.074 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.8047, allocations: 41.05 kB / 0.7297 GB, free: 8.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.805, allocations: 406.1 kB / 0.7301 GB, free: 7.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.8053, allocations: 243.2 kB / 0.7303 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.8053, allocations: 10.69 kB / 0.7303 GB, free: 7.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8055, allocations: 387.6 kB / 0.7307 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.8059, allocations: 220.3 kB / 0.7309 GB, free: 7.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.8065, allocations: 327.4 kB / 0.7312 GB, free: 6.926 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.807, allocations: 268.5 kB / 0.7315 GB, free: 6.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.807, allocations: 0 / 0.7315 GB, free: 6.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001758/0.8088, allocations: 0.7385 MB / 0.7322 GB, free: 6.523 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.8088, allocations: 8.719 kB / 0.7322 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8088, allocations: 0 / 0.7322 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/0.8094, allocations: 86.03 kB / 0.7323 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.81, allocations: 143.9 kB / 0.7324 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.8125, allocations: 1.521 MB / 0.7339 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.8133, allocations: 96.94 kB / 0.734 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.8133, allocations: 26.09 kB / 0.734 GB, free: 5.008 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.0006073/0.814, allocations: 260.7 kB / 0.7343 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.8141, allocations: 74.22 kB / 0.7343 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.8166, allocations: 1.012 MB / 0.7353 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.8166, allocations: 8.062 kB / 0.7353 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8166, allocations: 4 kB / 0.7353 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.8166, allocations: 8.859 kB / 0.7353 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.8205, allocations: 1.905 MB / 0.7372 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.8206, allocations: 3.984 kB / 0.7372 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.8212, allocations: 147.8 kB / 0.7373 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004957/0.8217, allocations: 84.72 kB / 0.7374 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.8218, allocations: 23.98 kB / 0.7374 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.8236, allocations: 1.559 MB / 0.739 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8236, allocations: 0 / 0.739 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.8255, allocations: 0.9375 MB / 0.7399 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.826, allocations: 259.8 kB / 0.7401 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.8261, allocations: 23.98 kB / 0.7402 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/0.8267, allocations: 66.19 kB / 0.7402 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.8269, allocations: 64.91 kB / 0.7403 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.8269, allocations: 27.98 kB / 0.7403 GB, free: 15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006472/0.8276, allocations: 439 kB / 0.7407 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8276, allocations: 0 / 0.7407 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001015/0.8286, allocations: 291.2 kB / 0.741 GB, free: 14.29 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.001326/0.8299, allocations: 0.5981 MB / 0.7416 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.8315, allocations: 0.7465 MB / 0.7423 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8315, allocations: 0 / 0.7423 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008451/0.8324, allocations: 0.489 MB / 0.7428 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.8334, allocations: 239.4 kB / 0.743 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.8375, allocations: 2.115 MB / 0.7451 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.8382, allocations: 1.039 MB / 0.7461 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008922/0.8391, allocations: 254.3 kB / 0.7463 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.8393, allocations: 103.4 kB / 0.7464 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.8393, allocations: 0 / 0.7464 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of Templates: time 0.02527/0.8646, allocations: 13.06 MB / 0.7592 GB, free: 11.95 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: