Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 112.3 kB / 17.33 MB, free: 5.008 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.001291/0.001291, allocations: 198.6 kB / 18.33 MB, free: 4.016 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.391/1.391, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8077/0.8077, allocations: 128.4 MB / 426.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 66.33 kB / 0.5912 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1384, allocations: 83.25 MB / 0.6725 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007029/0.1454, allocations: 4.941 MB / 0.6773 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4768/0.6222, allocations: 151.1 MB / 0.8249 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008009/0.623, allocations: 17.66 kB / 0.8249 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007117/0.6238, allocations: 199 kB / 0.8251 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.6256, allocations: 0.5625 MB / 0.8256 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.6275, allocations: 0.8704 MB / 0.8265 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.629, allocations: 1.433 MB / 0.8279 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007509/0.6298, allocations: 430 kB / 0.8283 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008491/0.6306, allocations: 0.4982 MB / 0.8288 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009388/0.6316, allocations: 0.518 MB / 0.8293 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.6318, allocations: 119.7 kB / 0.8294 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009956/0.6328, allocations: 493 kB / 0.8298 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.6332, allocations: 304 kB / 0.8301 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006402/0.6338, allocations: 0.5663 MB / 0.8307 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.6359, allocations: 1.679 MB / 0.8323 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6359, allocations: 0 / 0.8323 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6359, allocations: 3.938 kB / 0.8323 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.045e-05/0.636, allocations: 0 / 0.8323 GB, free: 1.355 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003064/0.6391, allocations: 1.493 MB / 0.8338 GB, free: 176 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.6391, allocations: 8 kB / 0.8338 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/0.64, allocations: 197.6 kB / 0.834 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.6414, allocations: 0.7803 MB / 0.8347 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.6414, allocations: 61.75 kB / 0.8348 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6415, allocations: 83.94 kB / 0.8349 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.6432, allocations: 0.946 MB / 0.8358 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.6432, allocations: 4 kB / 0.8358 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.6433, allocations: 31.81 kB / 0.8358 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.6433, allocations: 20.28 kB / 0.8359 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6451, allocations: 1.131 MB / 0.837 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/0.6496, allocations: 2.777 MB / 0.8397 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.6511, allocations: 0.8572 MB / 0.8405 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.6516, allocations: 283.7 kB / 0.8408 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.64e-05/0.6517, allocations: 36.09 kB / 0.8408 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008992/0.6526, allocations: 0.5145 MB / 0.8413 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=84): time 2.495e-06/0.6526, allocations: 0 / 0.8413 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.003244/0.6558, allocations: 1.258 MB / 0.8426 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.656, allocations: 195 kB / 0.8427 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/0.6568, allocations: 0.6476 MB / 0.8434 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.6569, allocations: 45.3 kB / 0.8434 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.6573, allocations: 398.2 kB / 0.8438 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.6575, allocations: 285.6 kB / 0.8441 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.6578, allocations: 173.5 kB / 0.8442 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.658, allocations: 392.5 kB / 0.8446 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.6586, allocations: 282.2 kB / 0.8449 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.6592, allocations: 375.6 kB / 0.8452 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.6603, allocations: 0.6277 MB / 0.8458 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6603, allocations: 0 / 0.8458 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002013/0.6624, allocations: 0.8806 MB / 0.8467 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6624, allocations: 5.281 kB / 0.8467 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6624, allocations: 0 / 0.8467 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.663, allocations: 89.84 kB / 0.8468 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.6637, allocations: 164.5 kB / 0.847 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.6659, allocations: 1.633 MB / 0.8486 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007998/0.6667, allocations: 97.97 kB / 0.8486 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.6668, allocations: 36.73 kB / 0.8487 GB, free: 5.652 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0004623/0.6672, allocations: 279.6 kB / 0.8489 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.6674, allocations: 88.38 kB / 0.849 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.67, allocations: 1.138 MB / 0.8501 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.67, allocations: 9.781 kB / 0.8501 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.67, allocations: 6.531 kB / 0.8502 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.67, allocations: 3.984 kB / 0.8502 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.6735, allocations: 2.012 MB / 0.8521 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6735, allocations: 0 / 0.8521 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.6741, allocations: 155.8 kB / 0.8523 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/0.6745, allocations: 68.78 kB / 0.8523 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/0.6746, allocations: 23.98 kB / 0.8524 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.6768, allocations: 1.67 MB / 0.854 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6768, allocations: 0 / 0.854 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.6791, allocations: 1.053 MB / 0.855 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.6797, allocations: 284.3 kB / 0.8553 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.6799, allocations: 20 kB / 0.8553 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.6806, allocations: 63.92 kB / 0.8554 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.6808, allocations: 76.89 kB / 0.8554 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.975e-05/0.6809, allocations: 39.97 kB / 0.8555 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006829/0.6815, allocations: 471 kB / 0.8559 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6815, allocations: 0 / 0.8559 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009957/0.6825, allocations: 331.1 kB / 0.8562 GB, free: 14.96 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00199/0.6845, allocations: 0.6138 MB / 0.8568 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.6864, allocations: 0.8352 MB / 0.8577 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6864, allocations: 0 / 0.8577 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6874, allocations: 0.5119 MB / 0.8582 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.6887, allocations: 306.8 kB / 0.8585 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.692, allocations: 1.718 MB / 0.8601 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.6928, allocations: 1.036 MB / 0.8611 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008501/0.6936, allocations: 262.9 kB / 0.8614 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.694, allocations: 115.4 kB / 0.8615 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of SimCode: time 8.21e-07/0.694, allocations: 0 / 0.8615 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of Templates: time 0.02968/0.7236, allocations: 15.97 MB / 0.8771 GB, free: 9.887 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 480]