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) 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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.000956, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 176.3 kB / 16.57 MB, free: 6.398 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.63/1.63, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7911/0.7911, allocations: 113.8 MB / 405.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 8 kB / 493.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1651, allocations: 77.15 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004327/0.1695, allocations: 3.683 MB / 0.5604 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5099/0.6794, allocations: 127.5 MB / 0.685 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009953/0.6805, allocations: 19.88 kB / 0.685 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.681, allocations: 79.27 kB / 0.6851 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.6827, allocations: 0.4951 MB / 0.6856 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.6845, allocations: 0.636 MB / 0.6862 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.6858, allocations: 0.8338 MB / 0.687 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007378/0.6866, allocations: 480.7 kB / 0.6875 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005507/0.6871, allocations: 350.5 kB / 0.6878 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.6876, allocations: 358.2 kB / 0.6881 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.077e-05/0.6877, allocations: 31.94 kB / 0.6882 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007272/0.6884, allocations: 315.6 kB / 0.6885 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.6886, allocations: 179.2 kB / 0.6887 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.6888, allocations: 205.1 kB / 0.6888 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.6901, allocations: 1.175 MB / 0.69 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6901, allocations: 0 / 0.69 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6901, allocations: 0 / 0.69 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.725e-05/0.6902, allocations: 0 / 0.69 GB, free: 1.492 MB / 0.4981 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.002711/0.6929, allocations: 1.255 MB / 0.6912 GB, free: 196 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.6929, allocations: 8.031 kB / 0.6912 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/0.6938, allocations: 202.4 kB / 0.6914 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.695, allocations: 0.7271 MB / 0.6921 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.695, allocations: 66 kB / 0.6922 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.6952, allocations: 83.95 kB / 0.6923 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.6967, allocations: 0.9417 MB / 0.6932 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.6967, allocations: 0 / 0.6932 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.6968, allocations: 36 kB / 0.6932 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.6968, allocations: 20 kB / 0.6932 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.6985, allocations: 1.124 MB / 0.6943 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.7026, allocations: 2.573 MB / 0.6969 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.7042, allocations: 0.911 MB / 0.6977 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-05/0.7043, allocations: 32.62 kB / 0.6978 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008539/0.7052, allocations: 0.5119 MB / 0.6983 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=84): time 3.717e-06/0.7052, allocations: 4 kB / 0.6983 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84): time 0.003036/0.7082, allocations: 1.257 MB / 0.6995 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.7084, allocations: 192.9 kB / 0.6997 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008317/0.7092, allocations: 0.6332 MB / 0.7003 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-05/0.7093, allocations: 41.7 kB / 0.7004 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.7096, allocations: 404.4 kB / 0.7007 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.7099, allocations: 268.1 kB / 0.701 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.7099, allocations: 20 kB / 0.701 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.7101, allocations: 386.8 kB / 0.7014 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.7106, allocations: 253.9 kB / 0.7016 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/0.7113, allocations: 370.5 kB / 0.702 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.7119, allocations: 294.9 kB / 0.7023 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7119, allocations: 4 kB / 0.7023 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001869/0.7138, allocations: 0.8292 MB / 0.7031 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.7138, allocations: 7.953 kB / 0.7031 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.7138, allocations: 4 kB / 0.7031 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.7144, allocations: 92.73 kB / 0.7032 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.7151, allocations: 163.8 kB / 0.7033 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.7171, allocations: 1.523 MB / 0.7048 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/0.7178, allocations: 111 kB / 0.7049 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/0.7179, allocations: 31.97 kB / 0.7049 GB, free: 1.656 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0005056/0.7184, allocations: 261.6 kB / 0.7052 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.7186, allocations: 90.92 kB / 0.7053 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.7211, allocations: 1.153 MB / 0.7064 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.7211, allocations: 8 kB / 0.7064 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7211, allocations: 4 kB / 0.7064 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.7212, allocations: 3.984 kB / 0.7064 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.7246, allocations: 2.025 MB / 0.7084 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7246, allocations: 0 / 0.7084 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.7252, allocations: 163.8 kB / 0.7086 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004981/0.7257, allocations: 84.72 kB / 0.7086 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/0.7258, allocations: 31.92 kB / 0.7087 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.7276, allocations: 1.556 MB / 0.7102 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7276, allocations: 3.938 kB / 0.7102 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.7296, allocations: 1.051 MB / 0.7112 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.7301, allocations: 295.5 kB / 0.7115 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.7302, allocations: 23.98 kB / 0.7115 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.7309, allocations: 79.94 kB / 0.7116 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.7311, allocations: 84.81 kB / 0.7117 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.7312, allocations: 39.97 kB / 0.7117 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006158/0.7318, allocations: 459 kB / 0.7122 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7318, allocations: 4 kB / 0.7122 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008805/0.7327, allocations: 311.3 kB / 0.7125 GB, free: 9.707 MB / 0.5294 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 (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.001252/0.7339, allocations: 0.6057 MB / 0.7131 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.7356, allocations: 0.8275 MB / 0.7139 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7356, allocations: 4 kB / 0.7139 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009209/0.7365, allocations: 0.5431 MB / 0.7144 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.7375, allocations: 241.1 kB / 0.7146 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.7417, allocations: 2.242 MB / 0.7168 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.7424, allocations: 1.059 MB / 0.7178 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008658/0.7433, allocations: 270.8 kB / 0.7181 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.7436, allocations: 111.4 kB / 0.7182 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.7436, allocations: 0 / 0.7182 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of Templates: time 0.02312/0.7667, allocations: 14.03 MB / 0.7319 GB, free: 6.07 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (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)