Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.483/0.483, allocations: 87.5 MB / 104.9 MB, free: 13.02 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.352/1.352, allocations: 222.9 MB / 349.1 MB, free: 2.754 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.00109/0.00109, allocations: 98.95 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009939/0.0009941, allocations: 47.92 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3599, allocations: 70.07 MB / 0.5575 GB, free: 44.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005519/0.3655, allocations: 4.054 MB / 0.5615 GB, free: 41.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.156/0.5216, allocations: 148.1 MB / 0.7061 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.5225, allocations: 15.94 kB / 0.7061 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.5231, allocations: 123 kB / 0.7062 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.5247, allocations: 398.6 kB / 0.7066 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.5265, allocations: 0.6721 MB / 0.7073 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.5277, allocations: 1.09 MB / 0.7083 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/0.5285, allocations: 0.5861 MB / 0.7089 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.529, allocations: 366.5 kB / 0.7093 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004435/0.5294, allocations: 402 kB / 0.7096 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.5296, allocations: 52 kB / 0.7097 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008937/0.5305, allocations: 391.6 kB / 0.7101 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.5307, allocations: 215.2 kB / 0.7103 GB, free: 168 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.408/0.9387, allocations: 430.5 kB / 0.7107 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.9408, allocations: 1.367 MB / 0.712 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.9408, allocations: 4 kB / 0.712 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.12e-07/0.9408, allocations: 0 / 0.712 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.9408, allocations: 2.75 kB / 0.712 GB, free: 3.168 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002163/0.943, allocations: 1.306 MB / 0.7133 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.943, allocations: 9.375 kB / 0.7133 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008928/0.9439, allocations: 174.7 kB / 0.7135 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.945, allocations: 0.6954 MB / 0.7142 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.945, allocations: 63.41 kB / 0.7142 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.9451, allocations: 72 kB / 0.7143 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.9467, allocations: 0.8439 MB / 0.7151 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.9468, allocations: 1.406 kB / 0.7151 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.9468, allocations: 34.02 kB / 0.7151 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.9469, allocations: 19.03 kB / 0.7152 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.9488, allocations: 1.041 MB / 0.7162 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.9529, allocations: 2.345 MB / 0.7185 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.9543, allocations: 0.7751 MB / 0.7192 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.9548, allocations: 270.2 kB / 0.7195 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.52e-05/0.9549, allocations: 29.22 kB / 0.7195 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/0.9557, allocations: 415.2 kB / 0.7199 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.265e-06/0.9557, allocations: 0 / 0.7199 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70): time 0.002872/0.9586, allocations: 1.053 MB / 0.7209 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.9587, allocations: 192 kB / 0.7211 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/0.9595, allocations: 0.5806 MB / 0.7217 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.9596, allocations: 37.7 kB / 0.7217 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.9598, allocations: 364.9 kB / 0.7221 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.96, allocations: 235 kB / 0.7223 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.9603, allocations: 145.2 kB / 0.7224 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.9604, allocations: 384.8 kB / 0.7228 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.9608, allocations: 230.4 kB / 0.723 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.9614, allocations: 319 kB / 0.7233 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/0.9623, allocations: 0.5376 MB / 0.7238 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.9623, allocations: 2.75 kB / 0.7239 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001991/0.9643, allocations: 0.7509 MB / 0.7246 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.9643, allocations: 5.031 kB / 0.7246 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.9643, allocations: 0 / 0.7246 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.9649, allocations: 81.02 kB / 0.7247 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.9656, allocations: 145.7 kB / 0.7248 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.9677, allocations: 1.517 MB / 0.7263 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.9684, allocations: 76.11 kB / 0.7264 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.9685, allocations: 34.41 kB / 0.7264 GB, free: 14.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (81): * Single equations (assignments): 80 * 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.0004813/0.969, allocations: 261.1 kB / 0.7266 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.9691, allocations: 69.75 kB / 0.7267 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.9711, allocations: 0.9552 MB / 0.7276 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.9712, allocations: 8.188 kB / 0.7276 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9712, allocations: 0 / 0.7276 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.9712, allocations: 7.047 kB / 0.7277 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/0.9748, allocations: 1.783 MB / 0.7294 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9748, allocations: 0 / 0.7294 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.9753, allocations: 144.1 kB / 0.7295 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005362/0.9759, allocations: 85.39 kB / 0.7296 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.9759, allocations: 21.52 kB / 0.7296 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.9777, allocations: 1.546 MB / 0.7311 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9777, allocations: 3.281 kB / 0.7311 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.9808, allocations: 1.868 MB / 0.733 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.9812, allocations: 251.3 kB / 0.7332 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.9813, allocations: 15.22 kB / 0.7332 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.9818, allocations: 48.67 kB / 0.7333 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.9819, allocations: 58.92 kB / 0.7333 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.444e-05/0.982, allocations: 37.02 kB / 0.7334 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005332/0.9825, allocations: 423.6 kB / 0.7338 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9826, allocations: 4 kB / 0.7338 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001079/0.9836, allocations: 288.9 kB / 0.734 GB, free: 11.12 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 (81): * Single equations (assignments): 78 * 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.001376/0.985, allocations: 0.6024 MB / 0.7346 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.9868, allocations: 0.7316 MB / 0.7353 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9868, allocations: 3.938 kB / 0.7354 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008333/0.9876, allocations: 480.9 kB / 0.7358 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.9888, allocations: 256.5 kB / 0.7361 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.9937, allocations: 2.407 MB / 0.7384 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008504/0.9946, allocations: 1.01 MB / 0.7394 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001093/0.9957, allocations: 250.3 kB / 0.7396 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.9959, allocations: 91.5 kB / 0.7397 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/0.9959, allocations: 7.938 kB / 0.7397 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of Templates: time 0.02499/1.021, allocations: 13.31 MB / 0.7527 GB, free: 6.25 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)