Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01073/0.01073, allocations: 101.7 kB / 15.88 MB, free: 6.32 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.001815/0.001815, allocations: 198.3 kB / 16.79 MB, free: 6.246 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.445/1.445, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7177/0.7177, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 73.02 kB / 0.4904 GB, free: 14.42 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1841, allocations: 77.92 MB / 0.5665 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006467/0.1907, allocations: 5.111 MB / 0.5715 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.491/0.6816, allocations: 148.3 MB / 0.7164 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.6828, allocations: 19.88 kB / 0.7164 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.6835, allocations: 149.2 kB / 0.7165 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.6852, allocations: 494.1 kB / 0.717 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.6872, allocations: 0.7376 MB / 0.7177 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.6885, allocations: 1.339 MB / 0.719 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000927/0.6894, allocations: 0.6391 MB / 0.7197 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.69, allocations: 454.2 kB / 0.7201 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005436/0.6906, allocations: 0.5133 MB / 0.7206 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.6907, allocations: 64 kB / 0.7206 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.6916, allocations: 413 kB / 0.721 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.6919, allocations: 255 kB / 0.7213 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005008/0.6924, allocations: 0.5478 MB / 0.7218 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.6939, allocations: 1.636 MB / 0.7234 GB, free: 7.105 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.6939, allocations: 0 / 0.7234 GB, free: 7.105 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.694, allocations: 7.594 kB / 0.7234 GB, free: 7.102 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.694, allocations: 0 / 0.7234 GB, free: 7.102 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002578/0.6966, allocations: 1.489 MB / 0.7249 GB, free: 5.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6966, allocations: 12.03 kB / 0.7249 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.6977, allocations: 215.2 kB / 0.7251 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6988, allocations: 0.7659 MB / 0.7258 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.6989, allocations: 66 kB / 0.7259 GB, free: 4.469 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.699, allocations: 96 kB / 0.726 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.7007, allocations: 1.011 MB / 0.727 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.7008, allocations: 0 / 0.727 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.7009, allocations: 43.94 kB / 0.727 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.7009, allocations: 24 kB / 0.727 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.7028, allocations: 1.171 MB / 0.7282 GB, free: 2.086 MB / 0.545 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.004355/0.7072, allocations: 2.879 MB / 0.731 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.7096, allocations: 0.9786 MB / 0.732 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.7102, allocations: 310.7 kB / 0.7323 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.841e-05/0.7103, allocations: 32.59 kB / 0.7323 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000992/0.7113, allocations: 0.5029 MB / 0.7328 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.124e-06/0.7113, allocations: 0 / 0.7328 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003344/0.7146, allocations: 1.229 MB / 0.734 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7148, allocations: 192.6 kB / 0.7342 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.7156, allocations: 0.6488 MB / 0.7348 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.7157, allocations: 41.7 kB / 0.7348 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.716, allocations: 416.3 kB / 0.7352 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.7163, allocations: 268.1 kB / 0.7355 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.7166, allocations: 166.5 kB / 0.7356 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7167, allocations: 386.8 kB / 0.736 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.7173, allocations: 281.8 kB / 0.7363 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.718, allocations: 367.1 kB / 0.7366 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.7192, allocations: 0.6268 MB / 0.7372 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7192, allocations: 0 / 0.7372 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002021/0.7212, allocations: 0.8772 MB / 0.7381 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.7213, allocations: 7.938 kB / 0.7381 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7213, allocations: 7.75 kB / 0.7381 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.7219, allocations: 80.88 kB / 0.7382 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/0.7226, allocations: 167.8 kB / 0.7384 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.7247, allocations: 1.525 MB / 0.7398 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.7255, allocations: 97.31 kB / 0.7399 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.7256, allocations: 39.97 kB / 0.74 GB, free: 5.566 MB / 0.5606 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 (96): * Single equations (assignments): 95 * 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.0005066/0.7261, allocations: 279.3 kB / 0.7402 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.7263, allocations: 82.97 kB / 0.7403 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.7288, allocations: 1.1 MB / 0.7414 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.7288, allocations: 8 kB / 0.7414 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7289, allocations: 4 kB / 0.7414 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.7289, allocations: 11.86 kB / 0.7414 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.7322, allocations: 1.997 MB / 0.7434 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7323, allocations: 0 / 0.7434 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.7329, allocations: 151.8 kB / 0.7435 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005111/0.7334, allocations: 84.78 kB / 0.7436 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.7335, allocations: 27.97 kB / 0.7436 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.7354, allocations: 1.54 MB / 0.7451 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7354, allocations: 0 / 0.7451 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.7375, allocations: 1.019 MB / 0.7461 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.7379, allocations: 275.7 kB / 0.7464 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.7381, allocations: 23.94 kB / 0.7464 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/0.7388, allocations: 67.92 kB / 0.7465 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.739, allocations: 73.03 kB / 0.7465 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.7391, allocations: 32.05 kB / 0.7466 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006118/0.7397, allocations: 467 kB / 0.747 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7397, allocations: 0 / 0.747 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001031/0.7407, allocations: 343.1 kB / 0.7473 GB, free: 13.77 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 (94): * Single equations (assignments): 88 * 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.001663/0.7424, allocations: 0.6223 MB / 0.7479 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002141/0.7446, allocations: 0.8553 MB / 0.7488 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.7446, allocations: 0 / 0.7488 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.7457, allocations: 0.5197 MB / 0.7493 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.747, allocations: 275.8 kB / 0.7496 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.751, allocations: 2.178 MB / 0.7517 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/0.7518, allocations: 1.043 MB / 0.7527 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009363/0.7527, allocations: 274.9 kB / 0.753 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.753, allocations: 115.3 kB / 0.7531 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.753, allocations: 0 / 0.7531 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.0265/0.7795, allocations: 14.9 MB / 0.7676 GB, free: 9.281 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)