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.001568/0.001568, allocations: 104 kB / 16.94 MB, free: 6.191 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.001298/0.001299, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.46/1.46, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8248/0.8248, allocations: 125.3 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 60.14 kB / 0.4948 GB, free: 4.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4655, allocations: 78.57 MB / 0.5715 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006911/0.4725, allocations: 4.773 MB / 0.5762 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.201/0.6735, allocations: 150.6 MB / 0.7232 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.6747, allocations: 15.94 kB / 0.7233 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.6755, allocations: 186.2 kB / 0.7234 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.6779, allocations: 0.5387 MB / 0.724 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.6804, allocations: 0.8174 MB / 0.7248 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.6825, allocations: 1.362 MB / 0.7261 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009398/0.6834, allocations: 0.5753 MB / 0.7266 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007828/0.6842, allocations: 482.3 kB / 0.7271 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/0.6849, allocations: 493.9 kB / 0.7276 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.6851, allocations: 120 kB / 0.7277 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.6862, allocations: 455.6 kB / 0.7281 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.6865, allocations: 287 kB / 0.7284 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005711/0.6871, allocations: 0.5519 MB / 0.7289 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.6893, allocations: 1.566 MB / 0.7305 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6893, allocations: 0 / 0.7305 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6893, allocations: 4 kB / 0.7305 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.6893, allocations: 4 kB / 0.7305 GB, free: 4.203 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.002722/0.692, allocations: 1.407 MB / 0.7319 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6921, allocations: 12.62 kB / 0.7319 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009576/0.6931, allocations: 183.4 kB / 0.732 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.6943, allocations: 0.7422 MB / 0.7328 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.6944, allocations: 58 kB / 0.7328 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.6945, allocations: 84 kB / 0.7329 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.6962, allocations: 0.895 MB / 0.7338 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.6962, allocations: 0 / 0.7338 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.6963, allocations: 43.98 kB / 0.7338 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.6964, allocations: 20 kB / 0.7338 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.6982, allocations: 1.097 MB / 0.7349 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/0.7027, allocations: 2.723 MB / 0.7376 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.7044, allocations: 0.86 MB / 0.7384 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.705, allocations: 305.7 kB / 0.7387 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.968e-05/0.7051, allocations: 32.61 kB / 0.7387 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.7061, allocations: 487.1 kB / 0.7392 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.456e-06/0.7061, allocations: 0 / 0.7392 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.00339/0.7095, allocations: 1.186 MB / 0.7403 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.7097, allocations: 196.5 kB / 0.7405 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009172/0.7106, allocations: 0.6215 MB / 0.7411 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.7107, allocations: 41.7 kB / 0.7412 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.7111, allocations: 392.3 kB / 0.7416 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.7113, allocations: 256.3 kB / 0.7418 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.7116, allocations: 162.5 kB / 0.742 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.7118, allocations: 386.7 kB / 0.7423 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.7124, allocations: 265.8 kB / 0.7426 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.7131, allocations: 359.1 kB / 0.7429 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.7143, allocations: 0.6033 MB / 0.7435 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7143, allocations: 0 / 0.7435 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002094/0.7164, allocations: 0.8371 MB / 0.7443 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.7164, allocations: 7.984 kB / 0.7443 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7164, allocations: 0 / 0.7443 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.717, allocations: 84.86 kB / 0.7444 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.7177, allocations: 159.8 kB / 0.7446 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.7201, allocations: 1.626 MB / 0.7462 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008302/0.721, allocations: 100.2 kB / 0.7463 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.7211, allocations: 31.98 kB / 0.7463 GB, free: 3.414 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.0005507/0.7216, allocations: 271.5 kB / 0.7465 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.7218, allocations: 79.06 kB / 0.7466 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.7243, allocations: 1.05 MB / 0.7476 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7244, allocations: 11.94 kB / 0.7477 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.7244, allocations: 0 / 0.7477 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.7244, allocations: 7.922 kB / 0.7477 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.7279, allocations: 1.899 MB / 0.7495 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.728, allocations: 8 kB / 0.7495 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3425/1.071, allocations: 139.1 kB / 0.7497 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005449/1.071, allocations: 69.77 kB / 0.7497 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/1.071, allocations: 24.22 kB / 0.7497 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.073, allocations: 1.659 MB / 0.7514 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.073, allocations: 3.641 kB / 0.7514 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/1.076, allocations: 0.9805 MB / 0.7523 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/1.076, allocations: 271.3 kB / 0.7526 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.076, allocations: 19.67 kB / 0.7526 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000691/1.077, allocations: 62.3 kB / 0.7527 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/1.077, allocations: 69.84 kB / 0.7527 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.561e-05/1.077, allocations: 37.3 kB / 0.7528 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007196/1.078, allocations: 452.2 kB / 0.7532 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/1.078, allocations: 2.844 kB / 0.7532 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001095/1.079, allocations: 316.6 kB / 0.7535 GB, free: 168.3 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.001969/1.081, allocations: 0.6124 MB / 0.7541 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0028/1.084, allocations: 1.016 MB / 0.7551 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.084, allocations: 4.594 kB / 0.7551 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.085, allocations: 0.5091 MB / 0.7556 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/1.086, allocations: 304 kB / 0.7559 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/1.09, allocations: 1.663 MB / 0.7575 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/1.091, allocations: 1.016 MB / 0.7585 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/1.091, allocations: 122 kB / 0.7586 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/1.091, allocations: 1.469 kB / 0.7586 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02835/1.119, allocations: 18.21 MB / 0.7764 GB, free: 156.5 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)