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.001173/0.001173, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001124/0.001124, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7759/0.7759, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 65.53 kB / 0.573 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1739, allocations: 78.7 MB / 0.6499 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.008242/0.1823, allocations: 4.817 MB / 0.6546 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6275/0.8098, allocations: 150.6 MB / 0.8017 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008667/0.8107, allocations: 15.03 kB / 0.8017 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.8114, allocations: 195.7 kB / 0.8019 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.8132, allocations: 0.5355 MB / 0.8024 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.8151, allocations: 0.8374 MB / 0.8032 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.8166, allocations: 1.382 MB / 0.8046 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008645/0.8175, allocations: 0.5939 MB / 0.8051 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007647/0.8183, allocations: 487.9 kB / 0.8056 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006177/0.8189, allocations: 0.4982 MB / 0.8061 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.8191, allocations: 116.7 kB / 0.8062 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009183/0.82, allocations: 492.1 kB / 0.8067 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.8203, allocations: 297.4 kB / 0.807 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.8208, allocations: 0.559 MB / 0.8075 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.8226, allocations: 1.653 MB / 0.8091 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8226, allocations: 0 / 0.8091 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8226, allocations: 0 / 0.8091 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.8226, allocations: 0 / 0.8091 GB, free: 11.72 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.002518/0.8252, allocations: 1.458 MB / 0.8105 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8252, allocations: 7.969 kB / 0.8105 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009331/0.8261, allocations: 189.3 kB / 0.8107 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.8274, allocations: 0.7649 MB / 0.8115 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.8274, allocations: 63.5 kB / 0.8115 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.943e-05/0.8275, allocations: 83.53 kB / 0.8116 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.8291, allocations: 0.9201 MB / 0.8125 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.8291, allocations: 3.984 kB / 0.8125 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.8292, allocations: 34.62 kB / 0.8125 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.8292, allocations: 23.66 kB / 0.8126 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.8308, allocations: 1.112 MB / 0.8137 GB, free: 9.75 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.003854/0.8347, allocations: 2.714 MB / 0.8163 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.8362, allocations: 0.8843 MB / 0.8172 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.8367, allocations: 306.1 kB / 0.8175 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.271e-05/0.8368, allocations: 31.41 kB / 0.8175 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008165/0.8376, allocations: 496.3 kB / 0.818 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.424e-06/0.8376, allocations: 3.938 kB / 0.818 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002963/0.8406, allocations: 1.196 MB / 0.8191 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.8407, allocations: 188.4 kB / 0.8193 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/0.8415, allocations: 0.6247 MB / 0.8199 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.8416, allocations: 46.98 kB / 0.82 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.842, allocations: 399.2 kB / 0.8204 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.8422, allocations: 267.6 kB / 0.8206 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.8425, allocations: 166.2 kB / 0.8208 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.8427, allocations: 392.8 kB / 0.8211 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.8432, allocations: 266.5 kB / 0.8214 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.8438, allocations: 361.5 kB / 0.8217 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.8449, allocations: 0.609 MB / 0.8223 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8449, allocations: 0 / 0.8223 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001915/0.8469, allocations: 0.8424 MB / 0.8232 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.8469, allocations: 5.312 kB / 0.8232 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.8469, allocations: 6.391 kB / 0.8232 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/0.8475, allocations: 83.81 kB / 0.8232 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.8481, allocations: 157.8 kB / 0.8234 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.8503, allocations: 1.647 MB / 0.825 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/0.8512, allocations: 98.3 kB / 0.8251 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/0.8512, allocations: 35.61 kB / 0.8251 GB, free: 1.641 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.0007239/0.852, allocations: 281.8 kB / 0.8254 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.8522, allocations: 83.45 kB / 0.8255 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.8546, allocations: 1.064 MB / 0.8265 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.8546, allocations: 10.22 kB / 0.8265 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.8546, allocations: 0 / 0.8265 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.8546, allocations: 11.91 kB / 0.8265 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/0.8578, allocations: 1.956 MB / 0.8285 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.8578, allocations: 0 / 0.8285 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.8583, allocations: 144.3 kB / 0.8286 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.8588, allocations: 70.16 kB / 0.8287 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.8588, allocations: 27.23 kB / 0.8287 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.8606, allocations: 1.67 MB / 0.8303 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8606, allocations: 0 / 0.8303 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.8625, allocations: 1.002 MB / 0.8313 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/0.8629, allocations: 280.5 kB / 0.8316 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.863, allocations: 28.83 kB / 0.8316 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.8636, allocations: 58.28 kB / 0.8316 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.8638, allocations: 69.14 kB / 0.8317 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.8638, allocations: 34.52 kB / 0.8317 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005199/0.8644, allocations: 458.8 kB / 0.8322 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8644, allocations: 0 / 0.8322 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008705/0.8652, allocations: 320.1 kB / 0.8325 GB, free: 12.5 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.001257/0.8665, allocations: 0.603 MB / 0.8331 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.8681, allocations: 0.8296 MB / 0.8339 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.8681, allocations: 4.5 kB / 0.8339 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008223/0.8689, allocations: 0.5121 MB / 0.8344 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.8701, allocations: 302.8 kB / 0.8347 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.8729, allocations: 1.658 MB / 0.8363 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.8734, allocations: 1.027 MB / 0.8373 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007729/0.8742, allocations: 259.8 kB / 0.8375 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.8745, allocations: 105.9 kB / 0.8376 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.8745, allocations: 0 / 0.8376 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of Templates: time 0.02486/0.8993, allocations: 15.32 MB / 0.8526 GB, free: 10.89 MB / 0.6231 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)