Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001122, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.485/0.485, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 349.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009543, allocations: 103.6 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 51.92 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3661, allocations: 70.06 MB / 0.5575 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005293/0.3715, allocations: 4.139 MB / 0.5615 GB, free: 41.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1561/0.5276, allocations: 148.2 MB / 0.7062 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.5287, allocations: 15.94 kB / 0.7062 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.5292, allocations: 127 kB / 0.7064 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.5307, allocations: 401 kB / 0.7067 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.5326, allocations: 0.6997 MB / 0.7074 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.5337, allocations: 1.121 MB / 0.7085 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007935/0.5345, allocations: 0.5825 MB / 0.7091 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004978/0.535, allocations: 390.3 kB / 0.7095 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.5354, allocations: 419.4 kB / 0.7099 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.5356, allocations: 56 kB / 0.7099 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000787/0.5364, allocations: 391.6 kB / 0.7103 GB, free: 152 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.3667/0.9031, allocations: 215.8 kB / 0.7105 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008876/0.904, allocations: 453.1 kB / 0.7109 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.9063, allocations: 1.405 MB / 0.7123 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.9063, allocations: 1.625 kB / 0.7123 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9063, allocations: 0 / 0.7123 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.9063, allocations: 0 / 0.7123 GB, free: 3.207 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002568/0.9089, allocations: 1.325 MB / 0.7136 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.909, allocations: 7.031 kB / 0.7136 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009924/0.91, allocations: 185.9 kB / 0.7138 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.9112, allocations: 0.6947 MB / 0.7145 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/0.9113, allocations: 66.95 kB / 0.7145 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.9114, allocations: 74.28 kB / 0.7146 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.9131, allocations: 0.8728 MB / 0.7154 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.9131, allocations: 2.156 kB / 0.7154 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.9132, allocations: 32.25 kB / 0.7155 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.9132, allocations: 20.08 kB / 0.7155 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.9151, allocations: 1.077 MB / 0.7166 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.9193, allocations: 2.382 MB / 0.7189 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.9207, allocations: 0.8022 MB / 0.7197 GB, free: 17.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.9211, allocations: 282.8 kB / 0.7199 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.794e-05/0.9212, allocations: 37.05 kB / 0.72 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009033/0.9222, allocations: 420.7 kB / 0.7204 GB, free: 16.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/0.9222, allocations: 0 / 0.7204 GB, free: 16.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73): time 0.002973/0.9251, allocations: 1.085 MB / 0.7214 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.9253, allocations: 189 kB / 0.7216 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.9261, allocations: 0.5912 MB / 0.7222 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.16e-05/0.9262, allocations: 42.55 kB / 0.7222 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.9266, allocations: 375.2 kB / 0.7226 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.9268, allocations: 244.9 kB / 0.7228 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.927, allocations: 154.8 kB / 0.723 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.9272, allocations: 379.1 kB / 0.7233 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.9276, allocations: 237.1 kB / 0.7236 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.9282, allocations: 335.5 kB / 0.7239 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009721/0.9291, allocations: 0.5656 MB / 0.7244 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.9292, allocations: 2.406 kB / 0.7244 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001889/0.931, allocations: 0.7833 MB / 0.7252 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.9311, allocations: 6.703 kB / 0.7252 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9311, allocations: 2.438 kB / 0.7252 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.9317, allocations: 79.94 kB / 0.7253 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/0.9323, allocations: 155.3 kB / 0.7254 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.9342, allocations: 1.526 MB / 0.7269 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.9349, allocations: 80.28 kB / 0.727 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.935, allocations: 37.36 kB / 0.727 GB, free: 14.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0004459/0.9355, allocations: 246.9 kB / 0.7273 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.9356, allocations: 81.22 kB / 0.7273 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.938, allocations: 1.002 MB / 0.7283 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.938, allocations: 9.75 kB / 0.7283 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.9381, allocations: 4.062 kB / 0.7283 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.9381, allocations: 3.453 kB / 0.7283 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.9415, allocations: 1.862 MB / 0.7302 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9415, allocations: 0 / 0.7302 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.9422, allocations: 148 kB / 0.7303 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/0.9427, allocations: 82.7 kB / 0.7304 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/0.9428, allocations: 20.94 kB / 0.7304 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.9446, allocations: 1.549 MB / 0.7319 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9446, allocations: 0 / 0.7319 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.9473, allocations: 1.925 MB / 0.7338 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/0.9477, allocations: 256.6 kB / 0.734 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.9478, allocations: 18.69 kB / 0.734 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005213/0.9484, allocations: 57.09 kB / 0.7341 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.9485, allocations: 59.91 kB / 0.7342 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.9486, allocations: 33.95 kB / 0.7342 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005284/0.9491, allocations: 426 kB / 0.7346 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9491, allocations: 4 kB / 0.7346 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001136/0.9503, allocations: 293.4 kB / 0.7349 GB, free: 11.08 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001379/0.9517, allocations: 0.5994 MB / 0.7355 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.9531, allocations: 0.7621 MB / 0.7362 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9532, allocations: 3.625 kB / 0.7362 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007757/0.9539, allocations: 497 kB / 0.7367 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.9551, allocations: 258.3 kB / 0.7369 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.9592, allocations: 2.5 MB / 0.7394 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.9597, allocations: 1.023 MB / 0.7404 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008433/0.9606, allocations: 246.4 kB / 0.7406 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.9608, allocations: 103.1 kB / 0.7407 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/0.9608, allocations: 0 / 0.7407 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of Templates: time 0.02254/0.9834, allocations: 13.63 MB / 0.754 GB, free: 5.875 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)