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.001106/0.001106, allocations: 103.7 kB / 16.4 MB, free: 6.461 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.001162/0.001162, allocations: 197.8 kB / 17.34 MB, free: 5.715 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7286/0.7286, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 66.19 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1252, allocations: 77.93 MB / 0.644 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005933/0.1312, allocations: 4.921 MB / 0.6489 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4436/0.5748, allocations: 150.6 MB / 0.796 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007302/0.5756, allocations: 18.62 kB / 0.796 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.5761, allocations: 205.2 kB / 0.7962 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.5775, allocations: 0.5542 MB / 0.7967 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.5791, allocations: 0.8494 MB / 0.7975 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009627/0.5801, allocations: 1.446 MB / 0.799 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006741/0.5808, allocations: 0.5848 MB / 0.7995 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.5812, allocations: 0.5052 MB / 0.8 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.5817, allocations: 0.5214 MB / 0.8005 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.5818, allocations: 118.8 kB / 0.8006 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006745/0.5825, allocations: 489.9 kB / 0.8011 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.5827, allocations: 302.6 kB / 0.8014 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.5831, allocations: 0.5769 MB / 0.802 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.5846, allocations: 1.68 MB / 0.8036 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5846, allocations: 0 / 0.8036 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5846, allocations: 0 / 0.8036 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.5846, allocations: 1.812 kB / 0.8036 GB, free: 11.55 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.002312/0.587, allocations: 1.506 MB / 0.8051 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.587, allocations: 14.84 kB / 0.8051 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.5871, allocations: 137.5 kB / 0.8052 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008301/0.588, allocations: 193.7 kB / 0.8054 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.589, allocations: 0.7871 MB / 0.8062 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.589, allocations: 65.47 kB / 0.8062 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.5891, allocations: 85.06 kB / 0.8063 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.5905, allocations: 0.9456 MB / 0.8072 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.5905, allocations: 0 / 0.8072 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.5906, allocations: 38.81 kB / 0.8073 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.5906, allocations: 20.09 kB / 0.8073 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.5922, allocations: 1.128 MB / 0.8084 GB, free: 9.738 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.003399/0.5956, allocations: 2.748 MB / 0.8111 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.597, allocations: 0.9151 MB / 0.812 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.5975, allocations: 310.6 kB / 0.8123 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.052e-05/0.5975, allocations: 32.97 kB / 0.8123 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007886/0.5983, allocations: 0.5191 MB / 0.8128 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.024e-06/0.5983, allocations: 7.938 kB / 0.8128 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002924/0.6013, allocations: 1.26 MB / 0.814 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.6014, allocations: 191.1 kB / 0.8142 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.6021, allocations: 0.6462 MB / 0.8149 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.6021, allocations: 42.98 kB / 0.8149 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.6024, allocations: 408.8 kB / 0.8153 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.6026, allocations: 289 kB / 0.8156 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.6028, allocations: 156 kB / 0.8157 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.603, allocations: 394.3 kB / 0.8161 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.6035, allocations: 257.9 kB / 0.8163 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.6041, allocations: 377 kB / 0.8167 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009921/0.6051, allocations: 0.6122 MB / 0.8173 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6051, allocations: 0 / 0.8173 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001716/0.6068, allocations: 0.8396 MB / 0.8181 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6069, allocations: 9.812 kB / 0.8181 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.6069, allocations: 3.938 kB / 0.8181 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.6074, allocations: 85.39 kB / 0.8182 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.608, allocations: 165.3 kB / 0.8184 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.6099, allocations: 1.629 MB / 0.82 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.6105, allocations: 98.33 kB / 0.82 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.6106, allocations: 32.11 kB / 0.8201 GB, free: 2.562 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.0003335/0.6109, allocations: 283.8 kB / 0.8204 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.6111, allocations: 91.25 kB / 0.8204 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.6133, allocations: 1.133 MB / 0.8215 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.6134, allocations: 14.56 kB / 0.8216 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6134, allocations: 0 / 0.8216 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.6134, allocations: 7.969 kB / 0.8216 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.6164, allocations: 2.026 MB / 0.8235 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.6164, allocations: 0 / 0.8235 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.6169, allocations: 155.8 kB / 0.8237 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003972/0.6173, allocations: 74.88 kB / 0.8238 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.6174, allocations: 23.36 kB / 0.8238 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.6191, allocations: 1.669 MB / 0.8254 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6191, allocations: 2.438 kB / 0.8254 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.621, allocations: 1.054 MB / 0.8264 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.6213, allocations: 284.8 kB / 0.8267 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6215, allocations: 24.8 kB / 0.8267 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006584/0.6221, allocations: 68.92 kB / 0.8268 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.6223, allocations: 76.17 kB / 0.8269 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.6223, allocations: 41.28 kB / 0.8269 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004781/0.6228, allocations: 462.3 kB / 0.8274 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6228, allocations: 0 / 0.8274 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007824/0.6236, allocations: 336.9 kB / 0.8277 GB, free: 13.31 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.003186/0.6268, allocations: 2.113 MB / 0.8297 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.6283, allocations: 0.8432 MB / 0.8306 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6283, allocations: 0 / 0.8306 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008685/0.6292, allocations: 0.5367 MB / 0.8311 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.6304, allocations: 320.5 kB / 0.8314 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009154/0.6395, allocations: 6.428 MB / 0.8377 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.6401, allocations: 1.032 MB / 0.8387 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007649/0.6409, allocations: 267 kB / 0.8389 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.6414, allocations: 403.3 kB / 0.8393 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.6414, allocations: 3.938 kB / 0.8393 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/0.6907, allocations: 22.25 MB / 0.8611 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.49, allocations: 18.12 kB / 0.8611 GB, free: 14.53 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)