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.0009421/0.0009422, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6641/0.6641, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.5 kB / 0.5018 GB, free: 8.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 80.21 MB / 0.5801 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005046/0.1323, allocations: 4.144 MB / 0.5841 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3586/0.4909, allocations: 150.5 MB / 0.7311 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/0.4916, allocations: 15.34 kB / 0.7311 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.4921, allocations: 174.9 kB / 0.7312 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.4933, allocations: 483.3 kB / 0.7317 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.4949, allocations: 0.7866 MB / 0.7325 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009845/0.4959, allocations: 1.189 MB / 0.7336 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000771/0.4967, allocations: 0.6085 MB / 0.7342 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.4971, allocations: 431.1 kB / 0.7346 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004396/0.4976, allocations: 452 kB / 0.7351 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.4977, allocations: 103 kB / 0.7352 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.4984, allocations: 450.5 kB / 0.7356 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.4987, allocations: 269.8 kB / 0.7359 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.4991, allocations: 0.4983 MB / 0.7363 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.5004, allocations: 1.439 MB / 0.7378 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5004, allocations: 1.453 kB / 0.7378 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.62e-07/0.5004, allocations: 0 / 0.7378 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.5004, allocations: 0 / 0.7378 GB, free: 13.91 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001936/0.5024, allocations: 1.334 MB / 0.7391 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.5024, allocations: 8.594 kB / 0.7391 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008289/0.5033, allocations: 185.8 kB / 0.7392 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008934/0.5042, allocations: 0.697 MB / 0.7399 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.5042, allocations: 59.28 kB / 0.74 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.5044, allocations: 81.06 kB / 0.7401 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.5056, allocations: 0.8726 MB / 0.7409 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.5057, allocations: 0 / 0.7409 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.5057, allocations: 32.97 kB / 0.7409 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.5058, allocations: 18.38 kB / 0.741 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.5073, allocations: 1.069 MB / 0.742 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.5105, allocations: 2.393 MB / 0.7443 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.5117, allocations: 0.7914 MB / 0.7451 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.5121, allocations: 283.7 kB / 0.7454 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-05/0.5122, allocations: 38.31 kB / 0.7454 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007022/0.5129, allocations: 419.9 kB / 0.7458 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.5129, allocations: 3.938 kB / 0.7458 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002731/0.5157, allocations: 1.086 MB / 0.7469 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.5158, allocations: 188.6 kB / 0.7471 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.5164, allocations: 0.59 MB / 0.7476 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.5165, allocations: 37.7 kB / 0.7477 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.5167, allocations: 372.3 kB / 0.748 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.517, allocations: 244.5 kB / 0.7483 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.5172, allocations: 154.5 kB / 0.7484 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5174, allocations: 386.8 kB / 0.7488 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.5178, allocations: 229.9 kB / 0.749 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.5184, allocations: 339.9 kB / 0.7493 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/0.5193, allocations: 0.5651 MB / 0.7499 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5193, allocations: 0 / 0.7499 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001641/0.521, allocations: 0.7863 MB / 0.7506 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.521, allocations: 5.406 kB / 0.7506 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.521, allocations: 4 kB / 0.7507 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/0.5216, allocations: 84.89 kB / 0.7507 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.5221, allocations: 147.8 kB / 0.7509 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.5241, allocations: 1.63 MB / 0.7525 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.5246, allocations: 83.48 kB / 0.7525 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.5247, allocations: 31.97 kB / 0.7526 GB, free: 1.633 MB / 0.5606 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.0003107/0.525, allocations: 253.9 kB / 0.7528 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5252, allocations: 79 kB / 0.7529 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.5273, allocations: 1.001 MB / 0.7539 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.5273, allocations: 8 kB / 0.7539 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.5274, allocations: 4 kB / 0.7539 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.5274, allocations: 11.97 kB / 0.7539 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.5302, allocations: 1.85 MB / 0.7557 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5302, allocations: 3.938 kB / 0.7557 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.5308, allocations: 147.8 kB / 0.7558 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.5312, allocations: 76.78 kB / 0.7559 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.5313, allocations: 24.05 kB / 0.7559 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.5332, allocations: 1.658 MB / 0.7576 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.5332, allocations: 0 / 0.7576 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.5349, allocations: 0.918 MB / 0.7585 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.5352, allocations: 263.7 kB / 0.7587 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.95e-05/0.5353, allocations: 20 kB / 0.7587 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.5358, allocations: 55.94 kB / 0.7588 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5359, allocations: 56.92 kB / 0.7588 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/0.536, allocations: 31.98 kB / 0.7589 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000452/0.5364, allocations: 427 kB / 0.7593 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5365, allocations: 3.938 kB / 0.7593 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007545/0.5372, allocations: 291.2 kB / 0.7596 GB, free: 10.22 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.001286/0.5385, allocations: 0.6022 MB / 0.7601 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.5405, allocations: 0.9556 MB / 0.7611 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5405, allocations: 4 kB / 0.7611 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.5413, allocations: 496.7 kB / 0.7616 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.5424, allocations: 284.4 kB / 0.7618 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.5457, allocations: 1.671 MB / 0.7635 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.5463, allocations: 1.003 MB / 0.7644 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007268/0.547, allocations: 242.2 kB / 0.7647 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.5472, allocations: 107.4 kB / 0.7648 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5472, allocations: 0 / 0.7648 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of Templates: time 0.02213/0.5694, allocations: 13.79 MB / 0.7782 GB, free: 7.453 MB / 0.5919 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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)