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.0007823/0.0007823, allocations: 91.84 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.0009924/0.0009926, 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.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7391/0.7391, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 8.562 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3668, allocations: 81.57 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003669/0.3706, allocations: 3.558 MB / 0.5866 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1436/0.5142, allocations: 136.7 MB / 0.7201 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005937/0.5148, allocations: 11.94 kB / 0.7201 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.5153, allocations: 134.9 kB / 0.7202 GB, free: 3.832 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.5164, allocations: 395.4 kB / 0.7206 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.5178, allocations: 0.6058 MB / 0.7212 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009485/0.5188, allocations: 1.024 MB / 0.7222 GB, free: 1.824 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.5194, allocations: 479 kB / 0.7227 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.5198, allocations: 298.6 kB / 0.7229 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.5202, allocations: 322.3 kB / 0.7232 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.5203, allocations: 20 kB / 0.7233 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/0.5209, allocations: 331.7 kB / 0.7236 GB, free: 408 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.5211, allocations: 167.2 kB / 0.7237 GB, free: 240 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.5212, allocations: 177.2 kB / 0.7239 GB, free: 56 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009752/0.5222, allocations: 1.06 MB / 0.7249 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5222, allocations: 0 / 0.7249 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5222, allocations: 0 / 0.7249 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5223, allocations: 0 / 0.7249 GB, free: 14.99 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.001817/0.5241, allocations: 1.147 MB / 0.7261 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5241, allocations: 12.03 kB / 0.7261 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.5243, allocations: 134.9 kB / 0.7262 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007895/0.5251, allocations: 186.6 kB / 0.7264 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008713/0.526, allocations: 0.6797 MB / 0.7271 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.526, allocations: 58 kB / 0.7271 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-05/0.5261, allocations: 79.98 kB / 0.7272 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.5275, allocations: 0.8676 MB / 0.728 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.5275, allocations: 0 / 0.728 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.5276, allocations: 32 kB / 0.7281 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.5276, allocations: 23.95 kB / 0.7281 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.5292, allocations: 1.069 MB / 0.7291 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.5326, allocations: 2.421 MB / 0.7315 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.5338, allocations: 0.7998 MB / 0.7323 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.5342, allocations: 278.5 kB / 0.7325 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-05/0.5343, allocations: 36.67 kB / 0.7326 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007153/0.5351, allocations: 423.3 kB / 0.733 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 4.419e-06/0.5351, allocations: 0 / 0.733 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002589/0.5377, allocations: 1.096 MB / 0.734 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.5378, allocations: 188.6 kB / 0.7342 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.5385, allocations: 0.5823 MB / 0.7348 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.5385, allocations: 37.7 kB / 0.7348 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.5388, allocations: 376.2 kB / 0.7352 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.539, allocations: 244.5 kB / 0.7354 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.539, allocations: 8 kB / 0.7354 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5392, allocations: 386.7 kB / 0.7358 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.5396, allocations: 217.2 kB / 0.736 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.5401, allocations: 327.6 kB / 0.7363 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.5405, allocations: 267.1 kB / 0.7366 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5406, allocations: 3.938 kB / 0.7366 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001514/0.5421, allocations: 0.7352 MB / 0.7373 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5421, allocations: 8.125 kB / 0.7373 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5421, allocations: 3.984 kB / 0.7373 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005375/0.5427, allocations: 84.78 kB / 0.7374 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.5432, allocations: 139.8 kB / 0.7375 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.545, allocations: 1.524 MB / 0.739 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.5455, allocations: 79.52 kB / 0.7391 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.5456, allocations: 23.98 kB / 0.7391 GB, free: 15.95 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: 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.0003257/0.5459, allocations: 249.6 kB / 0.7393 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.546, allocations: 79.06 kB / 0.7394 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.5481, allocations: 1.021 MB / 0.7404 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5481, allocations: 8 kB / 0.7404 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5482, allocations: 3.953 kB / 0.7404 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5482, allocations: 3.984 kB / 0.7404 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.551, allocations: 1.869 MB / 0.7423 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.551, allocations: 0 / 0.7423 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.5516, allocations: 151.8 kB / 0.7424 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/0.552, allocations: 84.77 kB / 0.7425 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.5521, allocations: 23.98 kB / 0.7425 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.5537, allocations: 1.548 MB / 0.744 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5537, allocations: 0 / 0.744 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.5554, allocations: 0.9219 MB / 0.7449 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.5558, allocations: 275.7 kB / 0.7452 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5559, allocations: 16 kB / 0.7452 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005258/0.5564, allocations: 75.44 kB / 0.7453 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.5566, allocations: 64.86 kB / 0.7453 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.5566, allocations: 31.98 kB / 0.7454 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005002/0.5571, allocations: 427 kB / 0.7458 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5571, allocations: 7.938 kB / 0.7458 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007889/0.5579, allocations: 283.3 kB / 0.746 GB, free: 8.59 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 (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.002982/0.5609, allocations: 1.946 MB / 0.7479 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.5623, allocations: 0.7238 MB / 0.7487 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5623, allocations: 4.188 kB / 0.7487 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.5631, allocations: 0.504 MB / 0.7492 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.5642, allocations: 248.5 kB / 0.7494 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00846/0.5727, allocations: 4.665 MB / 0.7539 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.5732, allocations: 1.008 MB / 0.7549 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007981/0.5741, allocations: 258.2 kB / 0.7552 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.5745, allocations: 359.3 kB / 0.7555 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.5745, allocations: 0 / 0.7555 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.61, allocations: 19.83 MB / 0.7749 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.6102, allocations: 275.5 kB / 0.7751 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.754, allocations: 8.062 kB / 0.7752 GB, free: 11.2 MB / 0.6075 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: