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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 182.4 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5683/0.5683, allocations: 90.81 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 221.3 MB / 348.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008618, allocations: 94.05 kB / 421.1 MB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.403e-05, allocations: 7.984 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1593, allocations: 72.3 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.775/4.934, allocations: 1.684 GB / 2.244 GB, free: 224.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/4.935, allocations: 83.88 kB / 2.244 GB, free: 224.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1403/5.075, allocations: 63.46 MB / 2.306 GB, free: 168.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/5.075, allocations: 4 kB / 2.306 GB, free: 168.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001197/5.075, allocations: 23.94 kB / 2.306 GB, free: 168.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002606/5.078, allocations: 1.059 MB / 2.307 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/5.078, allocations: 15.98 kB / 2.307 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002921/5.078, allocations: 122.9 kB / 2.307 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/5.079, allocations: 186.6 kB / 2.308 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/5.081, allocations: 0.6036 MB / 2.308 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/5.081, allocations: 58 kB / 2.308 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/5.081, allocations: 80 kB / 2.308 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/5.082, allocations: 0.8248 MB / 2.309 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/5.082, allocations: 4 kB / 2.309 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/5.082, allocations: 32 kB / 2.309 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/5.082, allocations: 20 kB / 2.309 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/5.084, allocations: 1.019 MB / 2.31 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/5.088, allocations: 2.426 MB / 2.313 GB, free: 162 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/5.089, allocations: 0.767 MB / 2.313 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/5.089, allocations: 258.8 kB / 2.314 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.912e-05/5.089, allocations: 32.59 kB / 2.314 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005699/5.09, allocations: 405.8 kB / 2.314 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.194e-06/5.09, allocations: 0 / 2.314 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001568/5.091, allocations: 0.6707 MB / 2.315 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/5.091, allocations: 239.9 kB / 2.315 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008532/5.092, allocations: 0.5775 MB / 2.315 GB, free: 159 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.128e-05/5.092, allocations: 41.7 kB / 2.315 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/5.093, allocations: 372.4 kB / 2.316 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/5.093, allocations: 236.6 kB / 2.316 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/5.093, allocations: 8 kB / 2.316 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001114/5.093, allocations: 382.8 kB / 2.316 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/5.093, allocations: 193.5 kB / 2.317 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/5.094, allocations: 305.1 kB / 2.317 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/5.094, allocations: 246 kB / 2.317 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/5.094, allocations: 3.953 kB / 2.317 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001399/5.095, allocations: 0.672 MB / 2.318 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/5.095, allocations: 11.98 kB / 2.318 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/5.095, allocations: 0 / 2.318 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/5.096, allocations: 80.84 kB / 2.318 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/5.097, allocations: 131.8 kB / 2.318 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/5.098, allocations: 1.533 MB / 2.319 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/5.099, allocations: 79.41 kB / 2.32 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/5.099, allocations: 35.88 kB / 2.32 GB, free: 154.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.000174/5.099, allocations: 141.6 kB / 2.32 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/5.099, allocations: 79.06 kB / 2.32 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/5.101, allocations: 0.9302 MB / 2.321 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/5.101, allocations: 11.95 kB / 2.321 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/5.101, allocations: 0 / 2.321 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/5.101, allocations: 8.016 kB / 2.321 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/5.104, allocations: 1.855 MB / 2.323 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/5.104, allocations: 0 / 2.323 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/5.105, allocations: 135.8 kB / 2.323 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/5.105, allocations: 84.78 kB / 2.323 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/5.105, allocations: 23.98 kB / 2.323 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/5.107, allocations: 1.548 MB / 2.324 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/5.107, allocations: 0 / 2.324 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/5.108, allocations: 0.8572 MB / 2.325 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/5.109, allocations: 275.8 kB / 2.325 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/5.109, allocations: 19.98 kB / 2.325 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005783/5.11, allocations: 83.89 kB / 2.325 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/5.11, allocations: 52.7 kB / 2.326 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/5.11, allocations: 39.91 kB / 2.326 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006039/5.111, allocations: 471.2 kB / 2.326 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.21e-07/5.111, allocations: 0 / 2.326 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001303/5.112, allocations: 347.2 kB / 2.326 GB, free: 147.3 MB / 0.6042 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003904/5.116, allocations: 2.318 MB / 2.329 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001287/5.117, allocations: 0.6712 MB / 2.329 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/5.117, allocations: 3.938 kB / 2.329 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006972/5.118, allocations: 462.9 kB / 2.33 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/5.119, allocations: 241.3 kB / 2.33 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/5.123, allocations: 1.524 MB / 2.331 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/5.124, allocations: 1.023 MB / 2.332 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008696/5.125, allocations: 257.9 kB / 2.333 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/5.125, allocations: 335.3 kB / 2.333 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.573e-06/5.125, allocations: 0 / 2.333 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/5.187, allocations: 30.68 MB / 2.363 GB, free: 110 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/5.187, allocations: 244.7 kB / 2.363 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/8.313, allocations: 3.938 kB / 2.363 GB, free: 109.7 MB / 0.6042 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)