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.004922/0.004922, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001388/0.001388, allocations: 202 kB / 16.68 MB, free: 5.977 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7684/0.7684, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 59.45 kB / 0.5809 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1384, allocations: 80.21 MB / 0.6592 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006116/0.1446, allocations: 4.132 MB / 0.6632 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.163/0.3076, allocations: 150.5 MB / 0.8102 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000639/0.3083, allocations: 19.94 kB / 0.8102 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.3089, allocations: 174.4 kB / 0.8104 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.3105, allocations: 475 kB / 0.8108 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.3123, allocations: 0.8041 MB / 0.8116 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.3137, allocations: 1.195 MB / 0.8128 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.31/0.6237, allocations: 0.6081 MB / 0.8134 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008038/0.6245, allocations: 430.9 kB / 0.8138 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007871/0.6253, allocations: 451.5 kB / 0.8142 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.6257, allocations: 103.3 kB / 0.8143 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.6267, allocations: 474.6 kB / 0.8147 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003531/0.6271, allocations: 271.8 kB / 0.815 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000703/0.6278, allocations: 0.4921 MB / 0.8155 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.6298, allocations: 1.495 MB / 0.8169 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6298, allocations: 3.875 kB / 0.817 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6298, allocations: 0.5 kB / 0.817 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.6298, allocations: 2.25 kB / 0.817 GB, free: 3.316 MB / 0.6387 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.002072/0.6319, allocations: 1.363 MB / 0.8183 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6319, allocations: 10.38 kB / 0.8183 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.6321, allocations: 130.5 kB / 0.8184 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008792/0.633, allocations: 188.1 kB / 0.8186 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.6341, allocations: 0.7282 MB / 0.8193 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.6342, allocations: 61.03 kB / 0.8194 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.6343, allocations: 79.27 kB / 0.8194 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.6359, allocations: 0.8676 MB / 0.8203 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.6359, allocations: 0.625 kB / 0.8203 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.636, allocations: 34.77 kB / 0.8203 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.6361, allocations: 21.09 kB / 0.8203 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.6377, allocations: 1.067 MB / 0.8214 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.641, allocations: 2.361 MB / 0.8237 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.6422, allocations: 0.795 MB / 0.8245 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.6426, allocations: 281.6 kB / 0.8247 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.657e-05/0.6427, allocations: 31.92 kB / 0.8248 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006837/0.6434, allocations: 429.4 kB / 0.8252 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.514e-06/0.6434, allocations: 0.8438 kB / 0.8252 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.002815/0.6463, allocations: 1.089 MB / 0.8262 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.6464, allocations: 189.6 kB / 0.8264 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.6471, allocations: 0.5859 MB / 0.827 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.6471, allocations: 41.3 kB / 0.827 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.6474, allocations: 381.2 kB / 0.8274 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.6475, allocations: 255.1 kB / 0.8276 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.6477, allocations: 134.7 kB / 0.8278 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6479, allocations: 382.9 kB / 0.8281 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.6483, allocations: 214.9 kB / 0.8283 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.6488, allocations: 329 kB / 0.8287 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008636/0.6496, allocations: 0.5308 MB / 0.8292 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6496, allocations: 3.906 kB / 0.8292 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001558/0.6512, allocations: 0.731 MB / 0.8299 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6512, allocations: 7.125 kB / 0.8299 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.6512, allocations: 1.375 kB / 0.8299 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/0.6518, allocations: 79.97 kB / 0.83 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.6524, allocations: 146.5 kB / 0.8301 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.6543, allocations: 1.636 MB / 0.8317 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.6549, allocations: 73.11 kB / 0.8318 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.655, allocations: 34.52 kB / 0.8318 GB, free: 14.13 MB / 0.6544 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.0003635/0.6553, allocations: 242.7 kB / 0.832 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.6555, allocations: 84.48 kB / 0.8321 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.6576, allocations: 1.005 MB / 0.8331 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.6576, allocations: 10.62 kB / 0.8331 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.6576, allocations: 0 / 0.8331 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.6577, allocations: 6.516 kB / 0.8331 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.6604, allocations: 1.868 MB / 0.8349 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6604, allocations: 0.875 kB / 0.8349 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.6609, allocations: 154.5 kB / 0.8351 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/0.6613, allocations: 72.78 kB / 0.8352 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.6614, allocations: 18.56 kB / 0.8352 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.6632, allocations: 1.65 MB / 0.8368 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6632, allocations: 8.297 kB / 0.8368 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.6649, allocations: 0.9207 MB / 0.8377 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.6652, allocations: 261.7 kB / 0.8379 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.6653, allocations: 20.28 kB / 0.838 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.6658, allocations: 58.75 kB / 0.838 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.666, allocations: 60.89 kB / 0.8381 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.666, allocations: 34.66 kB / 0.8381 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000441/0.6665, allocations: 425.7 kB / 0.8385 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6665, allocations: 0.8438 kB / 0.8385 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000789/0.6673, allocations: 286.9 kB / 0.8388 GB, free: 11.6 MB / 0.6544 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.003602/0.6709, allocations: 1.98 MB / 0.8407 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.6723, allocations: 0.7271 MB / 0.8414 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6723, allocations: 3.938 kB / 0.8414 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007507/0.673, allocations: 0.4936 MB / 0.8419 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6742, allocations: 286.2 kB / 0.8422 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008881/0.683, allocations: 5.906 MB / 0.848 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.6837, allocations: 1.004 MB / 0.8489 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007296/0.6844, allocations: 254.3 kB / 0.8492 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.6848, allocations: 356.5 kB / 0.8495 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.6848, allocations: 1.094 kB / 0.8495 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4171/1.102, allocations: 19.95 MB / 0.869 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.06, allocations: 8.844 kB / 0.869 GB, free: 3.844 MB / 0.6544 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)