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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 108 kB / 15.61 MB, free: 152 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.001036/0.001036, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6898/0.6898, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.97 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3151, allocations: 80.21 MB / 0.5802 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004641/0.3198, allocations: 4.141 MB / 0.5842 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1429/0.4628, allocations: 150.5 MB / 0.7312 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007766/0.4636, allocations: 19.88 kB / 0.7312 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.4642, allocations: 162.5 kB / 0.7314 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.4658, allocations: 481 kB / 0.7318 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.4676, allocations: 0.7891 MB / 0.7326 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.4687, allocations: 1.18 MB / 0.7337 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007584/0.4695, allocations: 0.6139 MB / 0.7343 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005193/0.47, allocations: 442.4 kB / 0.7348 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.4705, allocations: 446 kB / 0.7352 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.4707, allocations: 104 kB / 0.7353 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.4714, allocations: 443.6 kB / 0.7357 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.4717, allocations: 279.1 kB / 0.736 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.4721, allocations: 0.4896 MB / 0.7364 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.4735, allocations: 1.453 MB / 0.7379 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4735, allocations: 0 / 0.7379 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4735, allocations: 0 / 0.7379 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.4735, allocations: 0 / 0.7379 GB, free: 15.39 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.00197/0.4755, allocations: 1.338 MB / 0.7392 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4755, allocations: 8.031 kB / 0.7392 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.4757, allocations: 131.2 kB / 0.7393 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.4765, allocations: 179.5 kB / 0.7395 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.4774, allocations: 0.7032 MB / 0.7402 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.4774, allocations: 62 kB / 0.7402 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.753e-05/0.4775, allocations: 83.92 kB / 0.7403 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.4788, allocations: 0.8676 MB / 0.7412 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4788, allocations: 0 / 0.7412 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.4789, allocations: 36 kB / 0.7412 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.4789, allocations: 20 kB / 0.7412 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.4804, allocations: 1.065 MB / 0.7422 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.4836, allocations: 2.394 MB / 0.7446 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4848, allocations: 0.7987 MB / 0.7454 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.4852, allocations: 282.6 kB / 0.7456 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.599e-05/0.4853, allocations: 32.67 kB / 0.7457 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006952/0.486, allocations: 431.2 kB / 0.7461 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.814e-06/0.486, allocations: 0 / 0.7461 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.00274/0.4888, allocations: 1.081 MB / 0.7471 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.4889, allocations: 192.6 kB / 0.7473 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.4895, allocations: 0.5823 MB / 0.7479 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.4895, allocations: 41.7 kB / 0.7479 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.4898, allocations: 372.2 kB / 0.7483 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.4899, allocations: 240.5 kB / 0.7485 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.4901, allocations: 138.2 kB / 0.7486 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4903, allocations: 382.7 kB / 0.749 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.4907, allocations: 213.2 kB / 0.7492 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.4912, allocations: 331.6 kB / 0.7495 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009144/0.4921, allocations: 0.5363 MB / 0.75 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4921, allocations: 0 / 0.75 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001558/0.4937, allocations: 0.7314 MB / 0.7508 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4937, allocations: 4 kB / 0.7508 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4937, allocations: 0 / 0.7508 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.4942, allocations: 80.91 kB / 0.7508 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.4948, allocations: 139.8 kB / 0.751 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.4967, allocations: 1.642 MB / 0.7526 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.4972, allocations: 71.39 kB / 0.7526 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.4972, allocations: 31.98 kB / 0.7527 GB, free: 15.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (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 (77): * Single equations (assignments): 76 * 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.000293/0.4975, allocations: 249.7 kB / 0.7529 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.4976, allocations: 79 kB / 0.753 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.4997, allocations: 1.002 MB / 0.754 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.4998, allocations: 11.98 kB / 0.754 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.4998, allocations: 0 / 0.754 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4998, allocations: 3.984 kB / 0.754 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.5026, allocations: 1.877 MB / 0.7558 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5026, allocations: 0 / 0.7558 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/0.5031, allocations: 143.8 kB / 0.756 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/0.5035, allocations: 76.78 kB / 0.756 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.5036, allocations: 27.92 kB / 0.7561 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.5053, allocations: 1.65 MB / 0.7577 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5053, allocations: 4.031 kB / 0.7577 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.5069, allocations: 0.9179 MB / 0.7586 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.5072, allocations: 263.8 kB / 0.7588 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.866e-05/0.5073, allocations: 20 kB / 0.7588 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.5079, allocations: 51.94 kB / 0.7589 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.508, allocations: 56.92 kB / 0.7589 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.508, allocations: 35.97 kB / 0.759 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004402/0.5085, allocations: 427.1 kB / 0.7594 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5085, allocations: 0 / 0.7594 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006894/0.5092, allocations: 287.2 kB / 0.7597 GB, free: 8.238 MB / 0.5919 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.003034/0.5122, allocations: 1.953 MB / 0.7616 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.5142, allocations: 0.9269 MB / 0.7625 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5142, allocations: 0 / 0.7625 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.515, allocations: 492.3 kB / 0.7629 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.5161, allocations: 293.2 kB / 0.7632 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/0.5249, allocations: 6.061 MB / 0.7691 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.5254, allocations: 1.015 MB / 0.7701 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007172/0.5262, allocations: 257.9 kB / 0.7704 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.5266, allocations: 351.3 kB / 0.7707 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.5266, allocations: 0 / 0.7707 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.301/2.828, allocations: 19.71 MB / 0.79 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/15.86, allocations: 11.22 kB / 0.79 GB, free: 9.617 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)