Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 106 kB / 16.35 MB, free: 5.824 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.00111/0.00111, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7978/0.7978, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.391, allocations: 80.92 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00596/0.397, allocations: 4.042 MB / 0.5897 GB, free: 22.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1587/0.5558, allocations: 150.4 MB / 0.7366 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007263/0.5566, allocations: 15.88 kB / 0.7366 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.5571, allocations: 162.5 kB / 0.7368 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.5584, allocations: 475.8 kB / 0.7372 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.56, allocations: 0.7751 MB / 0.738 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.561, allocations: 1.153 MB / 0.7391 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007198/0.5617, allocations: 0.6 MB / 0.7397 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.5622, allocations: 418.5 kB / 0.7401 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.5626, allocations: 430 kB / 0.7405 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.5628, allocations: 100 kB / 0.7406 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009067/0.5637, allocations: 479.6 kB / 0.7411 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.5639, allocations: 259.1 kB / 0.7413 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.5643, allocations: 497.4 kB / 0.7418 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.5656, allocations: 1.456 MB / 0.7432 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.5656, allocations: 0 / 0.7432 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5656, allocations: 0 / 0.7432 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.5657, allocations: 0 / 0.7432 GB, free: 8.766 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00181/0.5675, allocations: 1.307 MB / 0.7445 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.5675, allocations: 9.109 kB / 0.7445 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008006/0.5683, allocations: 183.5 kB / 0.7447 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009889/0.5693, allocations: 0.7112 MB / 0.7454 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.5694, allocations: 58 kB / 0.7454 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.5695, allocations: 76 kB / 0.7455 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.5707, allocations: 0.8364 MB / 0.7463 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5707, allocations: 3.938 kB / 0.7463 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.5708, allocations: 32 kB / 0.7464 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.5708, allocations: 24 kB / 0.7464 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.5723, allocations: 1.042 MB / 0.7474 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/0.5759, allocations: 2.292 MB / 0.7496 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.5773, allocations: 0.7703 MB / 0.7504 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.5777, allocations: 274.3 kB / 0.7506 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.782e-05/0.5778, allocations: 28.59 kB / 0.7507 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007801/0.5786, allocations: 417.7 kB / 0.7511 GB, free: 484 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/0.5787, allocations: 4 kB / 0.7511 GB, free: 480 kB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.3167/0.8953, allocations: 1.046 MB / 0.7521 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.8954, allocations: 189.6 kB / 0.7523 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.8962, allocations: 0.582 MB / 0.7528 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.8963, allocations: 44.11 kB / 0.7529 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.8965, allocations: 370.2 kB / 0.7532 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.8967, allocations: 228.8 kB / 0.7535 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.8969, allocations: 148.8 kB / 0.7536 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.897, allocations: 377 kB / 0.754 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.8975, allocations: 227 kB / 0.7542 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.898, allocations: 323.2 kB / 0.7545 GB, free: 164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008963/0.8989, allocations: 0.5364 MB / 0.755 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8989, allocations: 0.5938 kB / 0.755 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001776/0.9007, allocations: 0.7544 MB / 0.7557 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.9007, allocations: 6.625 kB / 0.7558 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.9007, allocations: 1.156 kB / 0.7558 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/0.9013, allocations: 86.44 kB / 0.7558 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.9019, allocations: 142.1 kB / 0.756 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.9036, allocations: 1.633 MB / 0.7576 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.9042, allocations: 76.78 kB / 0.7576 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.9043, allocations: 29.81 kB / 0.7577 GB, free: 161.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 (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.0004061/0.9047, allocations: 253.5 kB / 0.7579 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.9048, allocations: 78.98 kB / 0.758 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.9071, allocations: 0.9524 MB / 0.7589 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.9071, allocations: 9.656 kB / 0.7589 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.9071, allocations: 0.6875 kB / 0.7589 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.9071, allocations: 5.062 kB / 0.7589 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.9104, allocations: 1.793 MB / 0.7607 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.9104, allocations: 0.5 kB / 0.7607 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/0.911, allocations: 135.1 kB / 0.7608 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.9114, allocations: 77.91 kB / 0.7609 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.9115, allocations: 22.33 kB / 0.7609 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.9131, allocations: 1.661 MB / 0.7625 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9131, allocations: 3.938 kB / 0.7625 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.915, allocations: 0.8779 MB / 0.7634 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.9153, allocations: 254 kB / 0.7636 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.9154, allocations: 18.25 kB / 0.7636 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.9159, allocations: 55.92 kB / 0.7637 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.9161, allocations: 56.44 kB / 0.7638 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.9161, allocations: 32.08 kB / 0.7638 GB, free: 158 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004769/0.9166, allocations: 418.3 kB / 0.7642 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9166, allocations: 0 / 0.7642 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001053/0.9177, allocations: 291.1 kB / 0.7645 GB, free: 157.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 (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.001517/0.9192, allocations: 0.5986 MB / 0.765 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.9208, allocations: 0.7375 MB / 0.7658 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9208, allocations: 0 / 0.7658 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006882/0.9215, allocations: 478.1 kB / 0.7662 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.9225, allocations: 282.2 kB / 0.7665 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.9258, allocations: 1.607 MB / 0.7681 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.9262, allocations: 0.9934 MB / 0.769 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006737/0.9269, allocations: 248.9 kB / 0.7693 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.9271, allocations: 94.8 kB / 0.7694 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.9271, allocations: 4 kB / 0.7694 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02046/0.9476, allocations: 13.46 MB / 0.7825 GB, free: 140.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)