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.001121/0.001121, allocations: 109.5 kB / 16.41 MB, free: 6.496 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.00111/0.00111, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6961/0.6961, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 66.39 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1278, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006359/0.1342, allocations: 5.105 MB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4881/0.6223, allocations: 150.7 MB / 0.7842 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008377/0.6232, allocations: 19.66 kB / 0.7842 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.6238, allocations: 201.2 kB / 0.7844 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.6253, allocations: 0.5647 MB / 0.7849 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.627, allocations: 0.8519 MB / 0.7858 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.6282, allocations: 1.443 MB / 0.7872 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008266/0.629, allocations: 0.649 MB / 0.7878 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005734/0.6296, allocations: 0.5169 MB / 0.7883 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005523/0.6302, allocations: 0.5433 MB / 0.7888 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.6304, allocations: 126.7 kB / 0.789 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008939/0.6313, allocations: 498 kB / 0.7894 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.6316, allocations: 319 kB / 0.7897 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.632, allocations: 0.5982 MB / 0.7903 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.6337, allocations: 1.739 MB / 0.792 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6337, allocations: 0 / 0.792 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6337, allocations: 0 / 0.792 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.6337, allocations: 0 / 0.792 GB, free: 13.09 MB / 0.5919 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.002304/0.636, allocations: 1.498 MB / 0.7935 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.6361, allocations: 11.03 kB / 0.7935 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.6371, allocations: 216.6 kB / 0.7937 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.6381, allocations: 0.7787 MB / 0.7945 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.6382, allocations: 67.89 kB / 0.7945 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.6383, allocations: 93.81 kB / 0.7946 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.6399, allocations: 1.005 MB / 0.7956 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.6399, allocations: 6.938 kB / 0.7956 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.64, allocations: 39.16 kB / 0.7956 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.64, allocations: 22.53 kB / 0.7957 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.6418, allocations: 1.171 MB / 0.7968 GB, free: 11.7 MB / 0.5919 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.003817/0.6456, allocations: 2.863 MB / 0.7996 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.6478, allocations: 0.981 MB / 0.8006 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/0.6483, allocations: 315.8 kB / 0.8009 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-05/0.6484, allocations: 30.97 kB / 0.8009 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008409/0.6493, allocations: 0.5033 MB / 0.8014 GB, free: 10 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.967e-06/0.6493, allocations: 3.984 kB / 0.8014 GB, free: 10 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003111/0.6524, allocations: 1.231 MB / 0.8026 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.6525, allocations: 192.2 kB / 0.8028 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/0.6532, allocations: 0.6432 MB / 0.8034 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.6533, allocations: 45.05 kB / 0.8034 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.6535, allocations: 419 kB / 0.8038 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.6537, allocations: 262 kB / 0.8041 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.654, allocations: 172.8 kB / 0.8043 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6542, allocations: 388.4 kB / 0.8046 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.6547, allocations: 276.6 kB / 0.8049 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.6553, allocations: 370.9 kB / 0.8052 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.6564, allocations: 0.6256 MB / 0.8059 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6564, allocations: 0 / 0.8059 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001817/0.6582, allocations: 0.8758 MB / 0.8067 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6582, allocations: 9.125 kB / 0.8067 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6583, allocations: 2.75 kB / 0.8067 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.6589, allocations: 81.52 kB / 0.8068 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.6595, allocations: 164.9 kB / 0.807 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.6618, allocations: 1.626 MB / 0.8085 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.6626, allocations: 93.69 kB / 0.8086 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.6626, allocations: 37.19 kB / 0.8087 GB, free: 6.297 MB / 0.5919 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.0004342/0.6631, allocations: 285.2 kB / 0.8089 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.6632, allocations: 83.28 kB / 0.809 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.6656, allocations: 1.097 MB / 0.8101 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.6656, allocations: 7.562 kB / 0.8101 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6656, allocations: 10.56 kB / 0.8101 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6656, allocations: 3.984 kB / 0.8101 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.6688, allocations: 2.005 MB / 0.8121 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6688, allocations: 0 / 0.8121 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/0.6693, allocations: 154.5 kB / 0.8122 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.6698, allocations: 68.02 kB / 0.8123 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.6698, allocations: 38.34 kB / 0.8123 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.6717, allocations: 1.657 MB / 0.8139 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6717, allocations: 0 / 0.8139 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.6737, allocations: 1.023 MB / 0.8149 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/0.674, allocations: 271.1 kB / 0.8152 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.6742, allocations: 21.3 kB / 0.8152 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/0.6749, allocations: 63.91 kB / 0.8153 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.675, allocations: 74.05 kB / 0.8154 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/0.6751, allocations: 36.83 kB / 0.8154 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005644/0.6757, allocations: 467.9 kB / 0.8158 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6757, allocations: 0 / 0.8158 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009287/0.6766, allocations: 338.7 kB / 0.8162 GB, free: 1.316 MB / 0.5919 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.001296/0.6779, allocations: 0.6141 MB / 0.8168 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.6796, allocations: 0.8536 MB / 0.8176 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6797, allocations: 0 / 0.8176 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.6806, allocations: 0.5342 MB / 0.8181 GB, free: 296 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6818, allocations: 308.8 kB / 0.8184 GB, free: 140 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.6847, allocations: 1.709 MB / 0.8201 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.6853, allocations: 1.045 MB / 0.8211 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000764/0.686, allocations: 272.5 kB / 0.8214 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.6863, allocations: 108.8 kB / 0.8215 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.6863, allocations: 0 / 0.8215 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.02455/0.7108, allocations: 15.72 MB / 0.8368 GB, free: 1.574 MB / 0.6075 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)