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.001308/0.001309, allocations: 114.6 kB / 17.09 MB, free: 5.965 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.001222/0.001222, allocations: 195 kB / 18.02 MB, free: 5.051 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.267/1.267, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7113/0.7113, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.42 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1365, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006835/0.1434, allocations: 4.801 MB / 0.6374 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4871/0.6305, allocations: 150.6 MB / 0.7845 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.6316, allocations: 15.44 kB / 0.7845 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.6323, allocations: 192.2 kB / 0.7847 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.6341, allocations: 0.5508 MB / 0.7852 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.6359, allocations: 0.8378 MB / 0.786 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.6372, allocations: 1.388 MB / 0.7874 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007959/0.638, allocations: 0.5896 MB / 0.7879 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.6386, allocations: 488.8 kB / 0.7884 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005331/0.6392, allocations: 0.5024 MB / 0.7889 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.6394, allocations: 118.8 kB / 0.789 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008759/0.6402, allocations: 483.1 kB / 0.7895 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.6405, allocations: 303 kB / 0.7898 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004447/0.641, allocations: 0.5585 MB / 0.7903 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.6426, allocations: 1.637 MB / 0.7919 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6426, allocations: 0 / 0.7919 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.095e-06/0.6426, allocations: 3.484 kB / 0.7919 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.6426, allocations: 0 / 0.7919 GB, free: 13.23 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.002303/0.6449, allocations: 1.426 MB / 0.7933 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.645, allocations: 10.41 kB / 0.7933 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.6459, allocations: 181.2 kB / 0.7935 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.6469, allocations: 0.7606 MB / 0.7942 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.6469, allocations: 62.75 kB / 0.7943 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.312e-05/0.647, allocations: 85.34 kB / 0.7944 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.6485, allocations: 0.9183 MB / 0.7953 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6485, allocations: 0 / 0.7953 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/0.6486, allocations: 36.72 kB / 0.7953 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.6486, allocations: 27.59 kB / 0.7953 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.6502, allocations: 1.107 MB / 0.7964 GB, free: 11.86 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.00364/0.6538, allocations: 2.702 MB / 0.799 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.6552, allocations: 0.89 MB / 0.7999 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.6557, allocations: 304.7 kB / 0.8002 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.398e-05/0.6558, allocations: 36.11 kB / 0.8002 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008034/0.6566, allocations: 499.2 kB / 0.8007 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.976e-06/0.6566, allocations: 0 / 0.8007 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002865/0.6595, allocations: 1.19 MB / 0.8019 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.6596, allocations: 190.8 kB / 0.8021 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/0.6603, allocations: 0.6308 MB / 0.8027 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.6604, allocations: 41.73 kB / 0.8027 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.6607, allocations: 389.9 kB / 0.8031 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.6609, allocations: 257.4 kB / 0.8033 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.6611, allocations: 160.7 kB / 0.8035 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6613, allocations: 387.4 kB / 0.8039 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.6618, allocations: 268.7 kB / 0.8041 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.6623, allocations: 371.4 kB / 0.8045 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009658/0.6633, allocations: 0.5943 MB / 0.805 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6633, allocations: 3.938 kB / 0.8051 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001731/0.6651, allocations: 0.8515 MB / 0.8059 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6651, allocations: 8.688 kB / 0.8059 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6651, allocations: 2.688 kB / 0.8059 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.6657, allocations: 82.39 kB / 0.806 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.6663, allocations: 160.6 kB / 0.8061 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.6684, allocations: 1.646 MB / 0.8077 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006827/0.6691, allocations: 90.58 kB / 0.8078 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.6691, allocations: 37.28 kB / 0.8079 GB, free: 6.773 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.0004026/0.6696, allocations: 270.1 kB / 0.8081 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.6697, allocations: 90.86 kB / 0.8082 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.6718, allocations: 1.051 MB / 0.8092 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.6719, allocations: 10.41 kB / 0.8092 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.6719, allocations: 0 / 0.8092 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.6719, allocations: 7.922 kB / 0.8092 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.6749, allocations: 1.96 MB / 0.8112 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6749, allocations: 10.06 kB / 0.8112 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.6754, allocations: 143.4 kB / 0.8113 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004032/0.6758, allocations: 74.69 kB / 0.8114 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.6759, allocations: 23.8 kB / 0.8114 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.6777, allocations: 1.674 MB / 0.813 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6778, allocations: 2.344 kB / 0.813 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.6797, allocations: 0.9975 MB / 0.814 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.68, allocations: 271.3 kB / 0.8143 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.6802, allocations: 17.78 kB / 0.8143 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/0.6808, allocations: 65.42 kB / 0.8143 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.681, allocations: 70.12 kB / 0.8144 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.6811, allocations: 34.47 kB / 0.8144 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005573/0.6816, allocations: 451.4 kB / 0.8149 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6816, allocations: 0 / 0.8149 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009375/0.6826, allocations: 319 kB / 0.8152 GB, free: 2.105 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.001445/0.684, allocations: 0.5945 MB / 0.8158 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.6857, allocations: 0.8303 MB / 0.8166 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6857, allocations: 6.156 kB / 0.8166 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008763/0.6866, allocations: 0.5241 MB / 0.8171 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.6878, allocations: 307.4 kB / 0.8174 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.6907, allocations: 1.667 MB / 0.819 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.6914, allocations: 1.022 MB / 0.82 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.6917, allocations: 117.9 kB / 0.8201 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.6917, allocations: 0 / 0.8201 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of Templates: time 0.02583/0.7175, allocations: 18.58 MB / 0.8383 GB, free: 320 kB / 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)