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.0007575/0.0007576, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008828/0.0008828, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.671/0.671, allocations: 132.2 MB / 423.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002751, allocations: 17.81 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3115, allocations: 81.56 MB / 0.583 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003233/0.3148, allocations: 3.491 MB / 0.5864 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1262/0.441, allocations: 127.4 MB / 0.7108 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.4414, allocations: 19.88 kB / 0.7108 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.4416, allocations: 67.41 kB / 0.7109 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000921/0.4426, allocations: 465.3 kB / 0.7113 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.4436, allocations: 0.6094 MB / 0.7119 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007407/0.4444, allocations: 0.748 MB / 0.7127 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005383/0.4449, allocations: 479 kB / 0.7131 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.4453, allocations: 302.7 kB / 0.7134 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.4456, allocations: 302.4 kB / 0.7137 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.4456, allocations: 20 kB / 0.7137 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.4461, allocations: 303.6 kB / 0.714 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.4463, allocations: 163.3 kB / 0.7142 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.4464, allocations: 181.1 kB / 0.7143 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008769/0.4473, allocations: 1.068 MB / 0.7154 GB, free: 8.688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.4473, allocations: 0 / 0.7154 GB, free: 8.688 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4473, allocations: 0 / 0.7154 GB, free: 8.688 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.4473, allocations: 0 / 0.7154 GB, free: 8.688 MB / 0.545 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.001604/0.4489, allocations: 1.143 MB / 0.7165 GB, free: 7.492 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.449, allocations: 8.031 kB / 0.7165 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.4491, allocations: 135 kB / 0.7166 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007625/0.4499, allocations: 190.5 kB / 0.7168 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/0.4507, allocations: 0.6759 MB / 0.7175 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.4508, allocations: 62 kB / 0.7175 GB, free: 6.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.4509, allocations: 76 kB / 0.7176 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.4521, allocations: 0.8637 MB / 0.7185 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4521, allocations: 0 / 0.7185 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/0.4522, allocations: 36 kB / 0.7185 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.4522, allocations: 20 kB / 0.7185 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.4537, allocations: 1.073 MB / 0.7196 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.4568, allocations: 2.412 MB / 0.7219 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.458, allocations: 0.8103 MB / 0.7227 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-05/0.4581, allocations: 28.69 kB / 0.7227 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006343/0.4587, allocations: 424.5 kB / 0.7231 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 1.723e-06/0.4587, allocations: 0 / 0.7231 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002451/0.4612, allocations: 1.093 MB / 0.7242 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.4613, allocations: 192.6 kB / 0.7244 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.4619, allocations: 0.5784 MB / 0.725 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.4619, allocations: 41.7 kB / 0.725 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.4622, allocations: 372.2 kB / 0.7253 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.4623, allocations: 232.6 kB / 0.7256 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.4624, allocations: 16 kB / 0.7256 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4625, allocations: 382.8 kB / 0.7259 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.4629, allocations: 217.2 kB / 0.7262 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.4634, allocations: 331.5 kB / 0.7265 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.4638, allocations: 267.1 kB / 0.7267 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4638, allocations: 0 / 0.7267 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001437/0.4653, allocations: 0.7313 MB / 0.7274 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4653, allocations: 7.984 kB / 0.7274 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4653, allocations: 0 / 0.7274 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/0.4658, allocations: 84.91 kB / 0.7275 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.4664, allocations: 139.8 kB / 0.7277 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.4681, allocations: 1.54 MB / 0.7292 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.4686, allocations: 83.61 kB / 0.7292 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.4686, allocations: 27.98 kB / 0.7293 GB, free: 9.926 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002851/0.4689, allocations: 251.7 kB / 0.7295 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.44e-05/0.469, allocations: 75.06 kB / 0.7296 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.471, allocations: 1.021 MB / 0.7306 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.471, allocations: 12 kB / 0.7306 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.471, allocations: 0 / 0.7306 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.471, allocations: 3.984 kB / 0.7306 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.4737, allocations: 1.866 MB / 0.7324 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4737, allocations: 3.984 kB / 0.7324 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/0.4742, allocations: 155.7 kB / 0.7326 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.4747, allocations: 80.78 kB / 0.7326 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.4747, allocations: 19.98 kB / 0.7327 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.4763, allocations: 1.563 MB / 0.7342 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4763, allocations: 0 / 0.7342 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.4778, allocations: 0.922 MB / 0.7351 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.4781, allocations: 275.9 kB / 0.7354 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-05/0.4782, allocations: 16 kB / 0.7354 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.4787, allocations: 67.89 kB / 0.7354 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.4788, allocations: 64.91 kB / 0.7355 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.4789, allocations: 31.97 kB / 0.7355 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000418/0.4793, allocations: 427 kB / 0.7359 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4793, allocations: 0 / 0.7359 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006302/0.48, allocations: 291.2 kB / 0.7362 GB, free: 2.562 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0027/0.4827, allocations: 1.951 MB / 0.7381 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.4839, allocations: 0.7241 MB / 0.7388 GB, free: 72 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4839, allocations: 0 / 0.7388 GB, free: 72 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007448/0.4846, allocations: 0.5001 MB / 0.7393 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.4855, allocations: 239.6 kB / 0.7395 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007696/0.4932, allocations: 5.233 MB / 0.7447 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.4937, allocations: 1.016 MB / 0.7456 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006408/0.4943, allocations: 258.2 kB / 0.7459 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.4948, allocations: 359.3 kB / 0.7462 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.4948, allocations: 0 / 0.7462 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.523/2.017, allocations: 19.8 MB / 0.7656 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/2.018, allocations: 270 kB / 0.7658 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/4.037, allocations: 0 / 0.7658 GB, free: 4.637 MB / 0.5919 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/linux/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) Environment - environmentSimulation: