Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 107 kB / 16.36 MB, free: 6.336 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.00109/0.00109, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7588/0.7588, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.88 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3009, allocations: 80.18 MB / 0.5815 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00456/0.3055, allocations: 4.124 MB / 0.5855 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.144/0.4496, allocations: 150.5 MB / 0.7325 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008324/0.4505, allocations: 11.94 kB / 0.7325 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.4511, allocations: 166.5 kB / 0.7326 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.4528, allocations: 476.2 kB / 0.7331 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.4546, allocations: 0.7926 MB / 0.7339 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000975/0.4555, allocations: 1.199 MB / 0.735 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007448/0.4563, allocations: 0.6116 MB / 0.7356 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.4567, allocations: 426.4 kB / 0.736 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.4572, allocations: 454 kB / 0.7365 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.4573, allocations: 108 kB / 0.7366 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006822/0.458, allocations: 463.6 kB / 0.737 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.4582, allocations: 275.1 kB / 0.7373 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003808/0.4586, allocations: 0.4896 MB / 0.7377 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.4599, allocations: 1.483 MB / 0.7392 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4599, allocations: 0 / 0.7392 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.46, allocations: 0 / 0.7392 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.46, allocations: 0 / 0.7392 GB, free: 12.19 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001973/0.462, allocations: 1.318 MB / 0.7405 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.462, allocations: 16.03 kB / 0.7405 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008333/0.4628, allocations: 175.5 kB / 0.7407 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.4639, allocations: 0.719 MB / 0.7414 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.4639, allocations: 58 kB / 0.7414 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.464, allocations: 72 kB / 0.7415 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.4654, allocations: 0.8714 MB / 0.7423 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4654, allocations: 0 / 0.7423 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.4655, allocations: 40 kB / 0.7424 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.4655, allocations: 20 kB / 0.7424 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.4671, allocations: 1.061 MB / 0.7434 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.4704, allocations: 2.355 MB / 0.7457 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.4716, allocations: 0.7929 MB / 0.7465 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/0.4721, allocations: 277.4 kB / 0.7468 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.846e-05/0.4722, allocations: 28.59 kB / 0.7468 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007006/0.4729, allocations: 431.2 kB / 0.7472 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 1.933e-06/0.4729, allocations: 0 / 0.7472 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.002677/0.4756, allocations: 1.08 MB / 0.7483 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.4757, allocations: 188.6 kB / 0.7484 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/0.4763, allocations: 0.5861 MB / 0.749 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.4764, allocations: 37.7 kB / 0.7491 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.4767, allocations: 372.3 kB / 0.7494 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.4768, allocations: 240.5 kB / 0.7496 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.4771, allocations: 150.5 kB / 0.7498 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4772, allocations: 378.8 kB / 0.7501 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.4777, allocations: 241.9 kB / 0.7504 GB, free: 384 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.4782, allocations: 326.7 kB / 0.7507 GB, free: 40 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2452/0.7234, allocations: 0.5438 MB / 0.7512 GB, free: 167 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.7234, allocations: 5.781 kB / 0.7512 GB, free: 167 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001893/0.7253, allocations: 0.7662 MB / 0.752 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.7253, allocations: 8.438 kB / 0.752 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7254, allocations: 1.953 kB / 0.752 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.726, allocations: 82.12 kB / 0.7521 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.7266, allocations: 147.1 kB / 0.7522 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.7283, allocations: 1.625 MB / 0.7538 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.7289, allocations: 75.27 kB / 0.7539 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.729, allocations: 32.44 kB / 0.7539 GB, free: 165.2 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 (83): * Single equations (assignments): 82 * 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.0003374/0.7293, allocations: 258.6 kB / 0.7541 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.7294, allocations: 83.06 kB / 0.7542 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.7316, allocations: 0.9879 MB / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.7317, allocations: 10.88 kB / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7317, allocations: 8.578 kB / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.7317, allocations: 6.906 kB / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.7348, allocations: 1.855 MB / 0.757 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7348, allocations: 3 kB / 0.757 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.7354, allocations: 144 kB / 0.7572 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004169/0.7358, allocations: 68.75 kB / 0.7572 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.7359, allocations: 26 kB / 0.7572 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.7375, allocations: 1.652 MB / 0.7589 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.7375, allocations: 2.734 kB / 0.7589 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.7394, allocations: 0.9232 MB / 0.7598 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.7397, allocations: 255.9 kB / 0.76 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.801e-05/0.7398, allocations: 20.66 kB / 0.76 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.7403, allocations: 52.23 kB / 0.7601 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.7405, allocations: 59.91 kB / 0.7601 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.7406, allocations: 32.73 kB / 0.7602 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004776/0.741, allocations: 428.7 kB / 0.7606 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.741, allocations: 3.062 kB / 0.7606 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007309/0.7418, allocations: 285.2 kB / 0.7608 GB, free: 161.3 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 (86): * Single equations (assignments): 83 * 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.001211/0.743, allocations: 0.6066 MB / 0.7614 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.7443, allocations: 0.7531 MB / 0.7622 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7443, allocations: 0 / 0.7622 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007227/0.7451, allocations: 497.5 kB / 0.7627 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.7461, allocations: 276.7 kB / 0.7629 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.749, allocations: 1.646 MB / 0.7645 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.7494, allocations: 1.001 MB / 0.7655 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006247/0.7501, allocations: 258.5 kB / 0.7657 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.7503, allocations: 101 kB / 0.7658 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.7503, allocations: 1.531 kB / 0.7658 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.01678/0.7671, allocations: 13.79 MB / 0.7793 GB, free: 146.1 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)