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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_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.0008025/0.0008027, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0008831/0.0008832, allocations: 172.7 kB / 15.95 MB, free: 208 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.337/1.337, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9336/0.9336, allocations: 135.3 MB / 426.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 12 kB / 0.5071 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 82.31 MB / 0.5875 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004293/0.1616, allocations: 3.545 MB / 0.5909 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3988/0.5604, allocations: 136.7 MB / 0.7244 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005173/0.561, allocations: 21.91 kB / 0.7244 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004814/0.5614, allocations: 126.3 kB / 0.7245 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.5627, allocations: 386.3 kB / 0.7249 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.5645, allocations: 0.606 MB / 0.7255 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.5657, allocations: 1.025 MB / 0.7265 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.5665, allocations: 472.3 kB / 0.727 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.567, allocations: 296.8 kB / 0.7272 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.5675, allocations: 313.6 kB / 0.7275 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.523e-05/0.5676, allocations: 25.62 kB / 0.7276 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.5687, allocations: 338.6 kB / 0.7279 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.569, allocations: 161.8 kB / 0.728 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.5693, allocations: 182.2 kB / 0.7282 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.571, allocations: 1.067 MB / 0.7293 GB, free: 5.656 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.571, allocations: 0 / 0.7293 GB, free: 5.656 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.495e-06/0.571, allocations: 0 / 0.7293 GB, free: 5.656 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.571, allocations: 3.938 kB / 0.7293 GB, free: 5.652 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.002055/0.5731, allocations: 1.151 MB / 0.7304 GB, free: 4.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5731, allocations: 10.09 kB / 0.7304 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.5733, allocations: 126.4 kB / 0.7305 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/0.5742, allocations: 191.8 kB / 0.7307 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.5752, allocations: 0.675 MB / 0.7314 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.5752, allocations: 60.08 kB / 0.7314 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5753, allocations: 79.47 kB / 0.7315 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.5769, allocations: 0.8663 MB / 0.7323 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5769, allocations: 1.062 kB / 0.7323 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.857e-05/0.577, allocations: 32.47 kB / 0.7324 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.577, allocations: 19.62 kB / 0.7324 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.5786, allocations: 1.077 MB / 0.7334 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.5822, allocations: 2.414 MB / 0.7358 GB, free: 2.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.5835, allocations: 0.7992 MB / 0.7366 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.584, allocations: 280.8 kB / 0.7368 GB, free: 1.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-05/0.5841, allocations: 37.88 kB / 0.7369 GB, free: 1.605 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007254/0.5848, allocations: 427.8 kB / 0.7373 GB, free: 1.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.354e-06/0.5848, allocations: 0 / 0.7373 GB, free: 1.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002648/0.5875, allocations: 1.091 MB / 0.7384 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.578e-05/0.5876, allocations: 187.5 kB / 0.7385 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/0.5883, allocations: 0.5842 MB / 0.7391 GB, free: 172 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.5883, allocations: 41.3 kB / 0.7391 GB, free: 128 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.5886, allocations: 371.8 kB / 0.7395 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.5888, allocations: 238.8 kB / 0.7397 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.5889, allocations: 15 kB / 0.7397 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5891, allocations: 381 kB / 0.7401 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.5895, allocations: 218.1 kB / 0.7403 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.59, allocations: 326.2 kB / 0.7406 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.5905, allocations: 261.2 kB / 0.7409 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5905, allocations: 0 / 0.7409 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001564/0.5921, allocations: 0.7422 MB / 0.7416 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5921, allocations: 3.344 kB / 0.7416 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5921, allocations: 3.375 kB / 0.7416 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.5926, allocations: 85.97 kB / 0.7417 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.5932, allocations: 143.7 kB / 0.7418 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.5951, allocations: 1.526 MB / 0.7433 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.5957, allocations: 74.94 kB / 0.7434 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/0.5957, allocations: 30.59 kB / 0.7434 GB, free: 12.75 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.000378/0.5961, allocations: 257.6 kB / 0.7437 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.5962, allocations: 75.06 kB / 0.7437 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.5985, allocations: 1.017 MB / 0.7447 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5985, allocations: 8 kB / 0.7447 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5985, allocations: 3.984 kB / 0.7447 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5985, allocations: 7.938 kB / 0.7447 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.6015, allocations: 1.873 MB / 0.7466 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.6015, allocations: 0 / 0.7466 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/0.6021, allocations: 147.8 kB / 0.7467 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/0.6026, allocations: 84.77 kB / 0.7468 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.6027, allocations: 23.98 kB / 0.7468 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.6044, allocations: 1.544 MB / 0.7483 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6044, allocations: 0 / 0.7483 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.6062, allocations: 0.9181 MB / 0.7492 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.6065, allocations: 275.7 kB / 0.7495 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6066, allocations: 16 kB / 0.7495 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.6072, allocations: 71.94 kB / 0.7496 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6073, allocations: 56.92 kB / 0.7496 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/0.6074, allocations: 35.92 kB / 0.7497 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005468/0.6079, allocations: 431 kB / 0.7501 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6079, allocations: 0 / 0.7501 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008917/0.6088, allocations: 291.2 kB / 0.7503 GB, free: 5.395 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.003209/0.6121, allocations: 1.947 MB / 0.7522 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.6135, allocations: 0.7233 MB / 0.7529 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6135, allocations: 4 kB / 0.753 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008218/0.6144, allocations: 0.4929 MB / 0.7534 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6155, allocations: 266.8 kB / 0.7537 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009111/0.6246, allocations: 4.686 MB / 0.7583 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.6253, allocations: 1.004 MB / 0.7592 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008692/0.6261, allocations: 250.3 kB / 0.7595 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.6267, allocations: 363.1 kB / 0.7598 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of SimCode: time 7.02e-07/0.6267, allocations: 0 / 0.7598 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/0.6655, allocations: 19.83 MB / 0.7792 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/0.6659, allocations: 288.6 kB / 0.7795 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.88, allocations: 0 / 0.7795 GB, free: 7.961 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) Environment - environmentSimulation: