Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001299/0.001299, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 71.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3739, allocations: 80.17 MB / 0.5815 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004854/0.3788, allocations: 4.139 MB / 0.5855 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1525/0.5313, allocations: 150.5 MB / 0.7325 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007492/0.5321, allocations: 15.94 kB / 0.7325 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.5327, allocations: 170.4 kB / 0.7327 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.5341, allocations: 488.7 kB / 0.7331 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.5359, allocations: 0.7891 MB / 0.7339 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.5371, allocations: 1.195 MB / 0.7351 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007824/0.5378, allocations: 0.6196 MB / 0.7357 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004779/0.5383, allocations: 434.5 kB / 0.7361 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.5388, allocations: 450 kB / 0.7365 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.5389, allocations: 108 kB / 0.7366 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007618/0.5397, allocations: 471.6 kB / 0.7371 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.5399, allocations: 275.1 kB / 0.7373 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.5403, allocations: 497.3 kB / 0.7378 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.5418, allocations: 1.48 MB / 0.7392 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5418, allocations: 4 kB / 0.7392 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5418, allocations: 0 / 0.7392 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.5418, allocations: 0 / 0.7392 GB, free: 12.3 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002053/0.5439, allocations: 1.334 MB / 0.7405 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.5439, allocations: 12.03 kB / 0.7406 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008576/0.5448, allocations: 175.5 kB / 0.7407 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5459, allocations: 0.7228 MB / 0.7414 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.5459, allocations: 61.98 kB / 0.7415 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/0.546, allocations: 76 kB / 0.7416 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.5474, allocations: 0.8676 MB / 0.7424 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5474, allocations: 3.938 kB / 0.7424 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.5475, allocations: 36 kB / 0.7424 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.5475, allocations: 20 kB / 0.7425 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.5491, allocations: 1.065 MB / 0.7435 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/0.5525, allocations: 2.355 MB / 0.7458 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.5538, allocations: 0.7972 MB / 0.7466 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.5543, allocations: 285.5 kB / 0.7469 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.5544, allocations: 32.67 kB / 0.7469 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/0.5551, allocations: 435.1 kB / 0.7473 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.5551, allocations: 0 / 0.7473 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002876/0.558, allocations: 1.081 MB / 0.7484 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.798e-05/0.5581, allocations: 188.6 kB / 0.7485 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.5588, allocations: 0.5861 MB / 0.7491 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.5588, allocations: 37.7 kB / 0.7491 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.5591, allocations: 388.1 kB / 0.7495 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.5593, allocations: 240.5 kB / 0.7497 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.5595, allocations: 146.5 kB / 0.7499 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5597, allocations: 386.8 kB / 0.7503 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.5601, allocations: 237.9 kB / 0.7505 GB, free: 444 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.5607, allocations: 332 kB / 0.7508 GB, free: 92 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2491/0.8098, allocations: 0.5643 MB / 0.7514 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8099, allocations: 0 / 0.7514 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002004/0.8119, allocations: 0.7799 MB / 0.7521 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.8119, allocations: 9.141 kB / 0.7521 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.8119, allocations: 1.281 kB / 0.7521 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/0.8126, allocations: 79.05 kB / 0.7522 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.8133, allocations: 155.8 kB / 0.7523 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.815, allocations: 1.63 MB / 0.7539 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006687/0.8157, allocations: 78.67 kB / 0.754 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.8158, allocations: 32.39 kB / 0.754 GB, free: 165.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003644/0.8162, allocations: 261.5 kB / 0.7543 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.8163, allocations: 73.41 kB / 0.7544 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.8187, allocations: 0.9969 MB / 0.7553 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.8187, allocations: 9.297 kB / 0.7553 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.8187, allocations: 4.5 kB / 0.7554 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.8187, allocations: 5.359 kB / 0.7554 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.8219, allocations: 1.861 MB / 0.7572 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.822, allocations: 2.609 kB / 0.7572 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.8226, allocations: 148.4 kB / 0.7573 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.8231, allocations: 75.17 kB / 0.7574 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/0.8232, allocations: 24.06 kB / 0.7574 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.825, allocations: 1.662 MB / 0.759 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.825, allocations: 1.406 kB / 0.759 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.8271, allocations: 0.9214 MB / 0.7599 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.8275, allocations: 251.5 kB / 0.7602 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.8276, allocations: 17.12 kB / 0.7602 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.8282, allocations: 53.38 kB / 0.7602 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.8283, allocations: 63.84 kB / 0.7603 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/0.8284, allocations: 36.09 kB / 0.7603 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005226/0.8289, allocations: 421.9 kB / 0.7607 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8289, allocations: 4.25 kB / 0.7607 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008583/0.8298, allocations: 297.5 kB / 0.761 GB, free: 161.6 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 (87): * Single equations (assignments): 84 * 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.001267/0.8311, allocations: 0.5978 MB / 0.7616 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.8325, allocations: 0.7642 MB / 0.7624 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8325, allocations: 0 / 0.7624 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.8333, allocations: 498.3 kB / 0.7628 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.8343, allocations: 288.1 kB / 0.7631 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.8374, allocations: 1.65 MB / 0.7647 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.8378, allocations: 1.005 MB / 0.7657 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00068/0.8385, allocations: 254.3 kB / 0.7659 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.8388, allocations: 104.5 kB / 0.766 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.8388, allocations: 1.188 kB / 0.766 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.0174/0.8562, allocations: 13.8 MB / 0.7795 GB, free: 146.1 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)