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: translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 110.8 kB / 16.41 MB, free: 6.492 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.001728/0.001728, 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6801/0.6801, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001133, allocations: 66.28 kB / 0.5576 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1341, allocations: 76.18 MB / 0.632 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005682/0.1398, allocations: 4.803 MB / 0.6367 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4777/0.6176, allocations: 150.6 MB / 0.7838 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000738/0.6183, allocations: 18.44 kB / 0.7838 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.6189, allocations: 193.4 kB / 0.784 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.6203, allocations: 0.5396 MB / 0.7845 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.622, allocations: 0.8334 MB / 0.7853 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.6231, allocations: 1.38 MB / 0.7867 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007118/0.6238, allocations: 0.5994 MB / 0.7873 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.6243, allocations: 489.4 kB / 0.7877 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.6248, allocations: 0.4968 MB / 0.7882 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.6249, allocations: 118 kB / 0.7883 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.6257, allocations: 492 kB / 0.7888 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.6259, allocations: 297.7 kB / 0.7891 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.6263, allocations: 0.5552 MB / 0.7896 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.6277, allocations: 1.646 MB / 0.7912 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6277, allocations: 0 / 0.7912 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6277, allocations: 3.469 kB / 0.7912 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.6277, allocations: 0 / 0.7912 GB, free: 13.61 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.002118/0.6299, allocations: 1.42 MB / 0.7926 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.6299, allocations: 10.38 kB / 0.7926 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008529/0.6308, allocations: 185.1 kB / 0.7928 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/0.6317, allocations: 0.7542 MB / 0.7935 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.6317, allocations: 63.94 kB / 0.7936 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.6318, allocations: 84.78 kB / 0.7937 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.6332, allocations: 0.9205 MB / 0.7946 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.6332, allocations: 3.984 kB / 0.7946 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.6333, allocations: 39.53 kB / 0.7946 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.6333, allocations: 23.34 kB / 0.7947 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.6348, allocations: 1.109 MB / 0.7957 GB, free: 12.24 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.003365/0.6382, allocations: 2.704 MB / 0.7984 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.6396, allocations: 0.8867 MB / 0.7992 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.6401, allocations: 302.6 kB / 0.7995 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.6402, allocations: 35.88 kB / 0.7996 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007979/0.641, allocations: 0.4894 MB / 0.8 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.014e-06/0.641, allocations: 0 / 0.8 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002906/0.6439, allocations: 1.192 MB / 0.8012 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.644, allocations: 188.6 kB / 0.8014 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.6447, allocations: 0.6281 MB / 0.802 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.6447, allocations: 40.95 kB / 0.802 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.645, allocations: 383.7 kB / 0.8024 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.6451, allocations: 260.2 kB / 0.8027 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.6454, allocations: 170.2 kB / 0.8028 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6455, allocations: 387 kB / 0.8032 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.646, allocations: 267 kB / 0.8034 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.6465, allocations: 362 kB / 0.8038 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.6475, allocations: 0.6021 MB / 0.8044 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6476, allocations: 2.5 kB / 0.8044 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001739/0.6493, allocations: 0.8496 MB / 0.8052 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.6493, allocations: 5.219 kB / 0.8052 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6493, allocations: 0 / 0.8052 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/0.6499, allocations: 85.23 kB / 0.8053 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/0.6505, allocations: 156.5 kB / 0.8054 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.6526, allocations: 1.655 MB / 0.8071 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.6533, allocations: 90.73 kB / 0.8071 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.6533, allocations: 37.34 kB / 0.8072 GB, free: 7.172 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (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.0003378/0.6537, allocations: 268.7 kB / 0.8074 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.6538, allocations: 85.14 kB / 0.8075 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.656, allocations: 1.053 MB / 0.8085 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.656, allocations: 9.938 kB / 0.8086 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.656, allocations: 4 kB / 0.8086 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.656, allocations: 11.92 kB / 0.8086 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.659, allocations: 1.962 MB / 0.8105 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.659, allocations: 0 / 0.8105 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.6595, allocations: 142.1 kB / 0.8106 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.6599, allocations: 78.02 kB / 0.8107 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.66, allocations: 23.77 kB / 0.8107 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.6618, allocations: 1.674 MB / 0.8124 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6618, allocations: 0 / 0.8124 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.6636, allocations: 0.9924 MB / 0.8133 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.6639, allocations: 275.2 kB / 0.8136 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.664, allocations: 17.28 kB / 0.8136 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.6647, allocations: 62.61 kB / 0.8137 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.6648, allocations: 73.56 kB / 0.8137 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.6649, allocations: 38.38 kB / 0.8138 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004757/0.6654, allocations: 450.1 kB / 0.8142 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6654, allocations: 0 / 0.8142 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008091/0.6662, allocations: 328 kB / 0.8145 GB, free: 2.227 MB / 0.5919 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.001245/0.6675, allocations: 0.5974 MB / 0.8151 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.669, allocations: 0.8336 MB / 0.8159 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.669, allocations: 0 / 0.8159 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008693/0.6699, allocations: 0.5168 MB / 0.8164 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.6711, allocations: 305.5 kB / 0.8167 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.6735, allocations: 1.626 MB / 0.8183 GB, free: 116 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.674, allocations: 1.016 MB / 0.8193 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006584/0.6747, allocations: 259.7 kB / 0.8195 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.6749, allocations: 102 kB / 0.8196 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.6749, allocations: 3.938 kB / 0.8196 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.02222/0.6972, allocations: 15.34 MB / 0.8346 GB, free: 3.723 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (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 & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)