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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001234/0.001234, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7684/0.7684, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.89 kB / 0.495 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4857, allocations: 78.7 MB / 0.5718 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007649/0.4934, allocations: 4.776 MB / 0.5765 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1801/0.6736, allocations: 150.6 MB / 0.7235 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.6759, allocations: 19.88 kB / 0.7235 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009735/0.677, allocations: 190.2 kB / 0.7237 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.6801, allocations: 0.5345 MB / 0.7243 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.6831, allocations: 0.8259 MB / 0.7251 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.6849, allocations: 1.355 MB / 0.7264 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008999/0.6858, allocations: 0.5752 MB / 0.7269 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.6864, allocations: 478.4 kB / 0.7274 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.6871, allocations: 489.9 kB / 0.7279 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.6873, allocations: 120 kB / 0.728 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.6884, allocations: 459.6 kB / 0.7284 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.6886, allocations: 291 kB / 0.7287 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004604/0.6891, allocations: 0.5519 MB / 0.7292 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.6909, allocations: 1.566 MB / 0.7308 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6909, allocations: 0 / 0.7308 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6909, allocations: 0 / 0.7308 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.6909, allocations: 0 / 0.7308 GB, free: 3.363 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002627/0.6936, allocations: 1.418 MB / 0.7321 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6936, allocations: 12.03 kB / 0.7322 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009485/0.6946, allocations: 179.4 kB / 0.7323 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.6956, allocations: 0.7343 MB / 0.733 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.6957, allocations: 66 kB / 0.7331 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.6958, allocations: 83.98 kB / 0.7332 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.6972, allocations: 0.9028 MB / 0.7341 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.6973, allocations: 3.938 kB / 0.7341 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.6974, allocations: 32 kB / 0.7341 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.6974, allocations: 20 kB / 0.7341 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.699, allocations: 1.093 MB / 0.7352 GB, free: 14.69 MB / 0.5762 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.003688/0.7027, allocations: 2.681 MB / 0.7378 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.7042, allocations: 0.8638 MB / 0.7387 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.7047, allocations: 305.7 kB / 0.7389 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.809e-05/0.7048, allocations: 28.59 kB / 0.739 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008689/0.7057, allocations: 495.1 kB / 0.7394 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.575e-06/0.7057, allocations: 0 / 0.7394 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.003055/0.7087, allocations: 1.182 MB / 0.7406 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.7089, allocations: 196.6 kB / 0.7408 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/0.7098, allocations: 0.6136 MB / 0.7414 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/0.7099, allocations: 45.7 kB / 0.7414 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.7102, allocations: 392.3 kB / 0.7418 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.7104, allocations: 256.4 kB / 0.742 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.7107, allocations: 162.4 kB / 0.7422 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.7109, allocations: 390.7 kB / 0.7426 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.7114, allocations: 261.9 kB / 0.7428 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.712, allocations: 363 kB / 0.7432 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.7131, allocations: 0.5917 MB / 0.7438 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7131, allocations: 0 / 0.7438 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001922/0.715, allocations: 0.8448 MB / 0.7446 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.715, allocations: 8.094 kB / 0.7446 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7151, allocations: 4 kB / 0.7446 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.7157, allocations: 84.77 kB / 0.7447 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.7163, allocations: 155.7 kB / 0.7448 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.7189, allocations: 1.628 MB / 0.7464 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/0.7197, allocations: 95.22 kB / 0.7465 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.7198, allocations: 35.97 kB / 0.7465 GB, free: 2.621 MB / 0.5762 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.0005276/0.7203, allocations: 268.3 kB / 0.7468 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.7205, allocations: 83 kB / 0.7469 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.7228, allocations: 1.062 MB / 0.7479 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.7228, allocations: 8 kB / 0.7479 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.7229, allocations: 4 kB / 0.7479 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.7229, allocations: 7.922 kB / 0.7479 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4099/1.133, allocations: 1.884 MB / 0.7498 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.133, allocations: 1.422 kB / 0.7498 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/1.133, allocations: 145.4 kB / 0.7499 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/1.134, allocations: 71.88 kB / 0.75 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/1.134, allocations: 26.8 kB / 0.75 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/1.136, allocations: 1.654 MB / 0.7516 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.136, allocations: 8.453 kB / 0.7516 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/1.138, allocations: 0.9766 MB / 0.7526 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/1.139, allocations: 268.3 kB / 0.7528 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.139, allocations: 21.53 kB / 0.7528 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/1.14, allocations: 70.56 kB / 0.7529 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/1.14, allocations: 67.75 kB / 0.753 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.144e-05/1.14, allocations: 40.28 kB / 0.753 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007074/1.141, allocations: 447.5 kB / 0.7534 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/1.141, allocations: 0.625 kB / 0.7534 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001255/1.142, allocations: 316.9 kB / 0.7537 GB, free: 167.7 MB / 0.5762 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.00157/1.143, allocations: 0.6154 MB / 0.7544 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002779/1.146, allocations: 1.02 MB / 0.7553 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.146, allocations: 0.5938 kB / 0.7553 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.147, allocations: 0.5117 MB / 0.7558 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/1.149, allocations: 297 kB / 0.7561 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/1.152, allocations: 1.637 MB / 0.7577 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/1.153, allocations: 1.015 MB / 0.7587 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009617/1.154, allocations: 256 kB / 0.759 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/1.154, allocations: 107 kB / 0.7591 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/1.154, allocations: 1.375 kB / 0.7591 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.02688/1.181, allocations: 14.94 MB / 0.7737 GB, free: 157.9 MB / 0.5762 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)