Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.00162/0.00162, allocations: 109.2 kB / 16.41 MB, free: 5.984 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.001904/0.001904, allocations: 194.6 kB / 17.34 MB, free: 5.602 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7963/0.7963, allocations: 126.1 MB / 417.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.88 kB / 0.5726 GB, free: 27.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.127, allocations: 78.71 MB / 0.6494 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006601/0.1336, allocations: 4.923 MB / 0.6542 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.442/0.5757, allocations: 150.6 MB / 0.8014 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000665/0.5764, allocations: 20.41 kB / 0.8014 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.5769, allocations: 198.7 kB / 0.8016 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.5784, allocations: 0.56 MB / 0.8021 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.58, allocations: 0.8582 MB / 0.8029 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.5811, allocations: 1.43 MB / 0.8043 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007562/0.5819, allocations: 0.5894 MB / 0.8049 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/0.5824, allocations: 0.5067 MB / 0.8054 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.5829, allocations: 0.523 MB / 0.8059 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.5831, allocations: 117.8 kB / 0.806 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007022/0.5838, allocations: 483.6 kB / 0.8065 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.584, allocations: 315.4 kB / 0.8068 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.5844, allocations: 0.5704 MB / 0.8074 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.5859, allocations: 1.678 MB / 0.809 GB, free: 11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5859, allocations: 0 / 0.809 GB, free: 11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5859, allocations: 0 / 0.809 GB, free: 11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.5859, allocations: 0 / 0.809 GB, free: 11 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002376/0.5883, allocations: 1.503 MB / 0.8105 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.5883, allocations: 13.69 kB / 0.8105 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.5885, allocations: 138.4 kB / 0.8106 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/0.5894, allocations: 192.5 kB / 0.8108 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.5904, allocations: 0.7898 MB / 0.8116 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.5905, allocations: 69.5 kB / 0.8116 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/0.5906, allocations: 81.72 kB / 0.8117 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.592, allocations: 0.9505 MB / 0.8126 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.592, allocations: 4 kB / 0.8126 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.5921, allocations: 37.53 kB / 0.8127 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.5921, allocations: 19.72 kB / 0.8127 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.5937, allocations: 1.127 MB / 0.8138 GB, free: 8.809 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.5974, allocations: 2.746 MB / 0.8165 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.5989, allocations: 0.9088 MB / 0.8174 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.5995, allocations: 326.3 kB / 0.8177 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.5996, allocations: 35.91 kB / 0.8177 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008399/0.6004, allocations: 0.5126 MB / 0.8182 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.224e-06/0.6004, allocations: 0 / 0.8182 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003212/0.6036, allocations: 1.26 MB / 0.8194 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.6038, allocations: 196.3 kB / 0.8196 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007229/0.6045, allocations: 0.6461 MB / 0.8203 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/0.6046, allocations: 45.23 kB / 0.8203 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.6049, allocations: 411.9 kB / 0.8207 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.6051, allocations: 280.2 kB / 0.821 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.6053, allocations: 156 kB / 0.8211 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6055, allocations: 390.3 kB / 0.8215 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.606, allocations: 257.9 kB / 0.8217 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.6066, allocations: 380.5 kB / 0.8221 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.6078, allocations: 0.6155 MB / 0.8227 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.6078, allocations: 0 / 0.8227 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001915/0.6097, allocations: 0.8414 MB / 0.8235 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6097, allocations: 9.094 kB / 0.8235 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6097, allocations: 3.938 kB / 0.8235 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.6103, allocations: 81.56 kB / 0.8236 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.611, allocations: 162.5 kB / 0.8238 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.6132, allocations: 1.634 MB / 0.8254 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.6139, allocations: 97.55 kB / 0.8254 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.614, allocations: 32.09 kB / 0.8255 GB, free: 0.8477 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: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004271/0.6144, allocations: 272 kB / 0.8257 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.6146, allocations: 88.06 kB / 0.8258 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.617, allocations: 1.145 MB / 0.8269 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.6171, allocations: 14.78 kB / 0.827 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6171, allocations: 3.656 kB / 0.827 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.6171, allocations: 3.984 kB / 0.827 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.6203, allocations: 2.024 MB / 0.8289 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6203, allocations: 0 / 0.8289 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.6209, allocations: 156.2 kB / 0.8291 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.6213, allocations: 78.81 kB / 0.8292 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/0.6214, allocations: 27.53 kB / 0.8292 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.6233, allocations: 1.659 MB / 0.8308 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6233, allocations: 6.703 kB / 0.8308 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.6253, allocations: 1.05 MB / 0.8318 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.6257, allocations: 284.5 kB / 0.8321 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.6258, allocations: 25.62 kB / 0.8321 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/0.6265, allocations: 72.42 kB / 0.8322 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.6267, allocations: 76.12 kB / 0.8323 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/0.6267, allocations: 37.05 kB / 0.8323 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005368/0.6273, allocations: 466.7 kB / 0.8328 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6273, allocations: 0 / 0.8328 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007981/0.6281, allocations: 336.9 kB / 0.8331 GB, free: 11.61 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003424/0.6315, allocations: 2.11 MB / 0.8351 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.6332, allocations: 0.8389 MB / 0.836 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6332, allocations: 0 / 0.836 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009459/0.6341, allocations: 0.55 MB / 0.8365 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6354, allocations: 312.1 kB / 0.8368 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.6455, allocations: 6.423 MB / 0.8431 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.6462, allocations: 1.04 MB / 0.8441 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008362/0.647, allocations: 270.9 kB / 0.8443 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.6476, allocations: 403.3 kB / 0.8447 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.6476, allocations: 0 / 0.8447 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04894/0.6965, allocations: 22.24 MB / 0.8664 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.89, allocations: 19.47 kB / 0.8665 GB, free: 11.88 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)