Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001416/0.001416, allocations: 108.5 kB / 16.41 MB, free: 6.496 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.001621/0.001621, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.219/1.219, 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.6899/0.6899, allocations: 122.8 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 70.62 kB / 0.5679 GB, free: 28.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1573, allocations: 77.93 MB / 0.644 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006002/0.1634, allocations: 4.794 MB / 0.6487 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4419/0.6053, allocations: 150.6 MB / 0.7958 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007318/0.6061, allocations: 14.78 kB / 0.7958 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.6066, allocations: 188.4 kB / 0.796 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.608, allocations: 0.5516 MB / 0.7965 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.6096, allocations: 0.8398 MB / 0.7973 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009636/0.6106, allocations: 1.387 MB / 0.7987 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006691/0.6112, allocations: 0.5899 MB / 0.7993 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.6117, allocations: 493.2 kB / 0.7997 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.6121, allocations: 0.5011 MB / 0.8002 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.6122, allocations: 118.2 kB / 0.8003 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006628/0.6129, allocations: 485.4 kB / 0.8008 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.6131, allocations: 295 kB / 0.8011 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003883/0.6135, allocations: 0.5624 MB / 0.8016 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.615, allocations: 1.655 MB / 0.8032 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.615, allocations: 0 / 0.8032 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.615, allocations: 0 / 0.8032 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.615, allocations: 4 kB / 0.8033 GB, free: 12.09 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002169/0.6172, allocations: 1.459 MB / 0.8047 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.6172, allocations: 8.562 kB / 0.8047 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.6174, allocations: 135.5 kB / 0.8048 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/0.6182, allocations: 189.9 kB / 0.805 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009732/0.6192, allocations: 0.7674 MB / 0.8057 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.6192, allocations: 64.09 kB / 0.8058 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/0.6193, allocations: 83 kB / 0.8059 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.6206, allocations: 0.9233 MB / 0.8068 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.6207, allocations: 3.938 kB / 0.8068 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.6208, allocations: 37.88 kB / 0.8068 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.6208, allocations: 20.75 kB / 0.8068 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.6223, allocations: 1.106 MB / 0.8079 GB, free: 10.39 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.003305/0.6256, allocations: 2.717 MB / 0.8106 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.6269, allocations: 0.8819 MB / 0.8114 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.6274, allocations: 312.7 kB / 0.8117 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.6275, allocations: 34.61 kB / 0.8118 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007353/0.6282, allocations: 495.9 kB / 0.8122 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.084e-06/0.6282, allocations: 0 / 0.8122 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002774/0.631, allocations: 1.196 MB / 0.8134 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.6311, allocations: 194 kB / 0.8136 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.6317, allocations: 0.6186 MB / 0.8142 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.6318, allocations: 46.41 kB / 0.8142 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.6321, allocations: 401.1 kB / 0.8146 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.6323, allocations: 275 kB / 0.8149 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.6325, allocations: 142.9 kB / 0.815 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6326, allocations: 388.3 kB / 0.8154 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.633, allocations: 250.1 kB / 0.8156 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.6336, allocations: 361 kB / 0.816 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009669/0.6346, allocations: 0.5843 MB / 0.8165 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.6346, allocations: 0 / 0.8165 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001644/0.6362, allocations: 0.7985 MB / 0.8173 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6363, allocations: 5.375 kB / 0.8173 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6363, allocations: 6.422 kB / 0.8173 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/0.6368, allocations: 83.69 kB / 0.8174 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.6374, allocations: 151.4 kB / 0.8176 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.6393, allocations: 1.647 MB / 0.8192 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.6399, allocations: 93.8 kB / 0.8193 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.6399, allocations: 32.17 kB / 0.8193 GB, free: 3.082 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003158/0.6402, allocations: 269.5 kB / 0.8196 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.6404, allocations: 87.97 kB / 0.8196 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.6425, allocations: 1.06 MB / 0.8207 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.6425, allocations: 10.38 kB / 0.8207 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6425, allocations: 3.938 kB / 0.8207 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.6425, allocations: 3.984 kB / 0.8207 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.6454, allocations: 1.964 MB / 0.8226 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6454, allocations: 0 / 0.8226 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.6459, allocations: 147 kB / 0.8227 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003947/0.6463, allocations: 67.89 kB / 0.8228 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.6464, allocations: 29.41 kB / 0.8228 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.6481, allocations: 1.672 MB / 0.8245 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6481, allocations: 2.625 kB / 0.8245 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.6499, allocations: 0.9956 MB / 0.8254 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.6503, allocations: 280 kB / 0.8257 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.6504, allocations: 25.59 kB / 0.8257 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.651, allocations: 64.39 kB / 0.8258 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6512, allocations: 65.28 kB / 0.8259 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.6512, allocations: 36.78 kB / 0.8259 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004598/0.6517, allocations: 452.8 kB / 0.8263 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6517, allocations: 4 kB / 0.8263 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007459/0.6524, allocations: 322.5 kB / 0.8266 GB, free: 13.94 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003121/0.6556, allocations: 2.039 MB / 0.8286 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.657, allocations: 0.8037 MB / 0.8294 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.657, allocations: 2.812 kB / 0.8294 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.6579, allocations: 0.516 MB / 0.8299 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.659, allocations: 309 kB / 0.8302 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008958/0.668, allocations: 6.205 MB / 0.8363 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.6686, allocations: 1.027 MB / 0.8373 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007146/0.6693, allocations: 258.7 kB / 0.8375 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/0.6698, allocations: 371.3 kB / 0.8379 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.6698, allocations: 4 kB / 0.8379 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04596/0.7157, allocations: 21.55 MB / 0.8589 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.25, allocations: 15.92 kB / 0.8589 GB, free: 0.8281 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)