Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.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-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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001331/0.001331, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.2 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 61.02 kB / 0.5049 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1726, allocations: 80.93 MB / 0.5839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00599/0.1787, allocations: 4.08 MB / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.466/0.6447, allocations: 148.2 MB / 0.7327 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007999/0.6456, allocations: 18.91 kB / 0.7327 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.6464, allocations: 131.1 kB / 0.7328 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.6483, allocations: 419.4 kB / 0.7332 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.6505, allocations: 0.6991 MB / 0.7339 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.6524, allocations: 1.168 MB / 0.735 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.6536, allocations: 0.6174 MB / 0.7356 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008516/0.6545, allocations: 421.8 kB / 0.736 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000862/0.6553, allocations: 445.8 kB / 0.7365 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.6556, allocations: 103.7 kB / 0.7366 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.6568, allocations: 453.7 kB / 0.737 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.6572, allocations: 266.9 kB / 0.7373 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007037/0.6579, allocations: 496.8 kB / 0.7377 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.6598, allocations: 1.461 MB / 0.7392 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6599, allocations: 4 kB / 0.7392 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6599, allocations: 0 / 0.7392 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.241e-05/0.6599, allocations: 0 / 0.7392 GB, free: 10.65 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002678/0.6626, allocations: 1.304 MB / 0.7404 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.6627, allocations: 9.625 kB / 0.7404 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.6638, allocations: 172.6 kB / 0.7406 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.665, allocations: 0.7075 MB / 0.7413 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.6651, allocations: 61.62 kB / 0.7414 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.6652, allocations: 74.88 kB / 0.7414 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.6669, allocations: 0.8508 MB / 0.7423 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.6669, allocations: 0 / 0.7423 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.065e-05/0.667, allocations: 39.48 kB / 0.7423 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.6671, allocations: 23.25 kB / 0.7423 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.6686, allocations: 1.052 MB / 0.7433 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.6727, allocations: 2.398 MB / 0.7457 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.6741, allocations: 0.7943 MB / 0.7465 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.6746, allocations: 278 kB / 0.7467 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/0.6747, allocations: 33.95 kB / 0.7468 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008628/0.6756, allocations: 415.4 kB / 0.7472 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/0.6756, allocations: 0 / 0.7472 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.003292/0.6789, allocations: 1.072 MB / 0.7482 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.679, allocations: 192.5 kB / 0.7484 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008532/0.6799, allocations: 0.5783 MB / 0.749 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.079e-05/0.68, allocations: 41.7 kB / 0.749 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.6804, allocations: 364.3 kB / 0.7493 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.6806, allocations: 236.6 kB / 0.7496 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.6809, allocations: 146.5 kB / 0.7497 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002471/0.6811, allocations: 382.5 kB / 0.7501 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.6816, allocations: 241.9 kB / 0.7503 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.6822, allocations: 318.8 kB / 0.7506 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.6833, allocations: 0.5468 MB / 0.7511 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6833, allocations: 0 / 0.7511 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001935/0.6852, allocations: 0.7626 MB / 0.7519 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.6853, allocations: 8 kB / 0.7519 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6853, allocations: 0 / 0.7519 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.6859, allocations: 88.8 kB / 0.752 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.6865, allocations: 139.8 kB / 0.7521 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.6892, allocations: 1.65 MB / 0.7537 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007404/0.6899, allocations: 78.16 kB / 0.7538 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/0.69, allocations: 39.97 kB / 0.7538 GB, free: 14.63 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 (81): * Single equations (assignments): 80 * 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.0005099/0.6905, allocations: 249.6 kB / 0.7541 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.6907, allocations: 79.06 kB / 0.7541 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.693, allocations: 0.9648 MB / 0.7551 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.6931, allocations: 8 kB / 0.7551 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.6931, allocations: 0 / 0.7551 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.6931, allocations: 7.984 kB / 0.7551 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.6965, allocations: 1.829 MB / 0.7569 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6965, allocations: 0 / 0.7569 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.6971, allocations: 131.9 kB / 0.757 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.6976, allocations: 88.66 kB / 0.7571 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.6977, allocations: 15.98 kB / 0.7571 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.6999, allocations: 1.662 MB / 0.7587 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6999, allocations: 0 / 0.7587 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.7019, allocations: 0.8985 MB / 0.7596 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.7024, allocations: 255.8 kB / 0.7599 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.7025, allocations: 19.94 kB / 0.7599 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/0.7031, allocations: 51.94 kB / 0.7599 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.7032, allocations: 56.92 kB / 0.76 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.7033, allocations: 33.61 kB / 0.76 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006097/0.7039, allocations: 419.1 kB / 0.7604 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7039, allocations: 0 / 0.7604 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001005/0.7049, allocations: 293.2 kB / 0.7607 GB, free: 7.348 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 (81): * Single equations (assignments): 78 * 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.001954/0.7069, allocations: 0.5979 MB / 0.7613 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.7093, allocations: 0.9298 MB / 0.7622 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7093, allocations: 3.984 kB / 0.7622 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009484/0.7103, allocations: 489.5 kB / 0.7627 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.7117, allocations: 283.8 kB / 0.7629 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.7163, allocations: 2 MB / 0.7649 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008483/0.7171, allocations: 0.9914 MB / 0.7658 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009763/0.7181, allocations: 250 kB / 0.7661 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.7184, allocations: 99.33 kB / 0.7662 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.7184, allocations: 3.938 kB / 0.7662 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of Templates: time 0.02869/0.7471, allocations: 13.57 MB / 0.7794 GB, free: 4.473 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)