Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001381/0.001381, 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.001969/0.001969, allocations: 197.6 kB / 16.26 MB, free: 6.625 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9472/0.9472, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.25 kB / 0.5049 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1778, allocations: 80.92 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005812/0.1837, allocations: 4.15 MB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5491/0.7328, allocations: 148.2 MB / 0.7327 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009313/0.7338, allocations: 19 kB / 0.7327 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.7347, allocations: 133.8 kB / 0.7328 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.737, allocations: 419.5 kB / 0.7332 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.7396, allocations: 0.7196 MB / 0.734 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.7419, allocations: 1.185 MB / 0.7351 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.7433, allocations: 0.6028 MB / 0.7357 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.7444, allocations: 437.3 kB / 0.7361 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.7454, allocations: 455.6 kB / 0.7366 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004433/0.7459, allocations: 106.7 kB / 0.7367 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.7472, allocations: 445.6 kB / 0.7371 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004012/0.7476, allocations: 267.9 kB / 0.7373 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000776/0.7484, allocations: 0.497 MB / 0.7378 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.7511, allocations: 1.455 MB / 0.7392 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7511, allocations: 0 / 0.7392 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7511, allocations: 0 / 0.7392 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.29e-05/0.7511, allocations: 1.219 kB / 0.7392 GB, free: 10.53 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.002523/0.7536, allocations: 1.321 MB / 0.7405 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7537, allocations: 9.5 kB / 0.7405 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009587/0.7547, allocations: 182.1 kB / 0.7407 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.7557, allocations: 0.7012 MB / 0.7414 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.7558, allocations: 59 kB / 0.7415 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.7559, allocations: 81.69 kB / 0.7415 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.7574, allocations: 0.8724 MB / 0.7424 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.7574, allocations: 4 kB / 0.7424 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.7575, allocations: 32.69 kB / 0.7424 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.7575, allocations: 19.5 kB / 0.7424 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.7591, allocations: 1.067 MB / 0.7435 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.7631, allocations: 2.38 MB / 0.7458 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.7645, allocations: 0.7927 MB / 0.7466 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.765, allocations: 291.3 kB / 0.7469 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.758e-05/0.7651, allocations: 34.48 kB / 0.7469 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008779/0.766, allocations: 429 kB / 0.7473 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.826e-06/0.766, allocations: 0 / 0.7473 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003196/0.7692, allocations: 1.092 MB / 0.7484 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.7694, allocations: 188.6 kB / 0.7485 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/0.7701, allocations: 0.5861 MB / 0.7491 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.7702, allocations: 41.7 kB / 0.7492 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.7705, allocations: 372.3 kB / 0.7495 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.7708, allocations: 240.5 kB / 0.7497 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.771, allocations: 150.5 kB / 0.7499 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.7712, allocations: 386.8 kB / 0.7503 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.7717, allocations: 233.9 kB / 0.7505 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.7724, allocations: 336 kB / 0.7508 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.7735, allocations: 0.5612 MB / 0.7513 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.7735, allocations: 0 / 0.7513 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001928/0.7754, allocations: 0.7862 MB / 0.7521 GB, free: 440 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.7755, allocations: 4 kB / 0.7521 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7755, allocations: 7.938 kB / 0.7521 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/0.7761, allocations: 84.89 kB / 0.7522 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.7768, allocations: 151.8 kB / 0.7523 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.7792, allocations: 1.631 MB / 0.7539 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/0.7799, allocations: 79.42 kB / 0.754 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-05/0.78, allocations: 35.97 kB / 0.7541 GB, free: 14.29 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.0004785/0.7805, allocations: 245.7 kB / 0.7543 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.7807, allocations: 83.06 kB / 0.7544 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.7831, allocations: 1.006 MB / 0.7553 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.7831, allocations: 8 kB / 0.7554 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7832, allocations: 3.984 kB / 0.7554 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.7832, allocations: 7.984 kB / 0.7554 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.7866, allocations: 1.858 MB / 0.7572 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.7866, allocations: 4.969 kB / 0.7572 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/0.7872, allocations: 143.8 kB / 0.7573 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/0.7877, allocations: 72.78 kB / 0.7574 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.7878, allocations: 23.98 kB / 0.7574 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.7898, allocations: 1.65 MB / 0.759 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.7898, allocations: 4 kB / 0.759 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.7919, allocations: 0.922 MB / 0.7599 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.7924, allocations: 263.7 kB / 0.7602 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.7926, allocations: 20 kB / 0.7602 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.7932, allocations: 51.94 kB / 0.7603 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.7934, allocations: 56.92 kB / 0.7603 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.7935, allocations: 33.28 kB / 0.7603 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006004/0.7941, allocations: 427.1 kB / 0.7607 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7941, allocations: 4 kB / 0.7607 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001019/0.7951, allocations: 299.2 kB / 0.761 GB, free: 6.879 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.00154/0.7967, allocations: 0.5919 MB / 0.7616 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.7991, allocations: 0.9556 MB / 0.7625 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7991, allocations: 0 / 0.7625 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000903/0.8, allocations: 0.4928 MB / 0.763 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.8013, allocations: 285 kB / 0.7633 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.8056, allocations: 2.052 MB / 0.7653 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.8063, allocations: 1.003 MB / 0.7663 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009381/0.8072, allocations: 258.1 kB / 0.7665 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.8075, allocations: 103.4 kB / 0.7666 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of SimCode: time 2.655e-06/0.8075, allocations: 0 / 0.7666 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of Templates: time 0.02494/0.8324, allocations: 13.72 MB / 0.78 GB, free: 3.758 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)