Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001313/0.001313, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001044/0.001044, allocations: 192.1 kB / 17.31 MB, free: 5.613 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/package.mo): time 0.7839/0.7839, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.375, allocations: 80.18 MB / 0.5815 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005046/0.3801, allocations: 4.076 MB / 0.5855 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1633/0.5435, allocations: 150.5 MB / 0.7324 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.5446, allocations: 19.88 kB / 0.7324 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007992/0.5455, allocations: 166.5 kB / 0.7326 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.5475, allocations: 468.9 kB / 0.733 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.5497, allocations: 0.7898 MB / 0.7338 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.5511, allocations: 1.172 MB / 0.7349 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008434/0.552, allocations: 0.6206 MB / 0.7355 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.5525, allocations: 426.5 kB / 0.736 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.553, allocations: 446.1 kB / 0.7364 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.5531, allocations: 104 kB / 0.7365 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009294/0.5541, allocations: 471.6 kB / 0.7369 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.5543, allocations: 263.1 kB / 0.7372 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.5547, allocations: 0.4935 MB / 0.7377 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.5561, allocations: 1.487 MB / 0.7391 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5561, allocations: 0 / 0.7391 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5562, allocations: 4 kB / 0.7391 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.5562, allocations: 0 / 0.7391 GB, free: 12.25 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002002/0.5582, allocations: 1.307 MB / 0.7404 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.5582, allocations: 12.03 kB / 0.7404 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008464/0.5591, allocations: 175.5 kB / 0.7406 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5601, allocations: 0.7229 MB / 0.7413 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.5602, allocations: 69.86 kB / 0.7413 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.5603, allocations: 72 kB / 0.7414 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.5616, allocations: 0.8598 MB / 0.7423 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.5616, allocations: 0 / 0.7423 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.5617, allocations: 36 kB / 0.7423 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.5617, allocations: 20 kB / 0.7423 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.5632, allocations: 1.057 MB / 0.7433 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.5665, allocations: 2.347 MB / 0.7456 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.5677, allocations: 0.7974 MB / 0.7464 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/0.5682, allocations: 278.4 kB / 0.7467 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.012e-05/0.5683, allocations: 32.53 kB / 0.7467 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006777/0.5689, allocations: 417.8 kB / 0.7471 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.084e-06/0.569, allocations: 8 kB / 0.7471 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.00268/0.5716, allocations: 1.062 MB / 0.7482 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.5718, allocations: 196.5 kB / 0.7483 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.5724, allocations: 0.5783 MB / 0.7489 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.5725, allocations: 37.7 kB / 0.7489 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.5727, allocations: 368.2 kB / 0.7493 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.5729, allocations: 240.6 kB / 0.7495 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.5731, allocations: 142.5 kB / 0.7497 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5732, allocations: 382.8 kB / 0.75 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.5737, allocations: 233.9 kB / 0.7502 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.5742, allocations: 326.8 kB / 0.7506 GB, free: 160 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3275/0.9017, allocations: 0.5382 MB / 0.7511 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.9017, allocations: 0.5 kB / 0.7511 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002853/0.9046, allocations: 0.7668 MB / 0.7518 GB, free: 167 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/0.9047, allocations: 7.469 kB / 0.7518 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.9047, allocations: 2.031 kB / 0.7518 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008288/0.9055, allocations: 83.33 kB / 0.7519 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.9064, allocations: 144 kB / 0.7521 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.9091, allocations: 1.635 MB / 0.7537 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/0.91, allocations: 83.28 kB / 0.7537 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-05/0.9101, allocations: 36.23 kB / 0.7538 GB, free: 165.4 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.0005755/0.9107, allocations: 254.7 kB / 0.754 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.9109, allocations: 75.14 kB / 0.7541 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.9133, allocations: 0.957 MB / 0.755 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.9133, allocations: 7.938 kB / 0.755 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.9133, allocations: 4.562 kB / 0.755 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.9133, allocations: 5.781 kB / 0.755 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.9167, allocations: 1.835 MB / 0.7568 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.9168, allocations: 1.719 kB / 0.7568 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.9173, allocations: 137.2 kB / 0.757 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.9178, allocations: 71.55 kB / 0.757 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.9179, allocations: 23.09 kB / 0.7571 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.9196, allocations: 1.68 MB / 0.7587 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.9196, allocations: 0.5938 kB / 0.7587 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.9217, allocations: 0.9007 MB / 0.7596 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.9221, allocations: 248.1 kB / 0.7598 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.9222, allocations: 18.8 kB / 0.7598 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.9228, allocations: 56.41 kB / 0.7599 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.9229, allocations: 57.36 kB / 0.7599 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/0.923, allocations: 29.06 kB / 0.76 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006436/0.9237, allocations: 425.8 kB / 0.7604 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9237, allocations: 0 / 0.7604 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009126/0.9246, allocations: 284.8 kB / 0.7606 GB, free: 161.5 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.001359/0.9259, allocations: 0.594 MB / 0.7612 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.9274, allocations: 0.7458 MB / 0.7619 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9274, allocations: 4.344 kB / 0.762 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007687/0.9282, allocations: 485.6 kB / 0.7624 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.9292, allocations: 286.8 kB / 0.7627 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.9328, allocations: 1.615 MB / 0.7643 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.9333, allocations: 0.9962 MB / 0.7652 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007652/0.9341, allocations: 252.6 kB / 0.7655 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.9343, allocations: 94.83 kB / 0.7656 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.9343, allocations: 1.344 kB / 0.7656 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.0188/0.9531, allocations: 13.62 MB / 0.7789 GB, free: 146.5 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)