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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4967/0.4967, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.288/1.288, allocations: 221.3 MB / 348.3 MB, free: 472 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008614/0.0008616, allocations: 99.58 kB / 421.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.382e-05/4.41e-05, allocations: 4 kB / 0.4896 GB, free: 5.363 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3376, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.999/4.337, allocations: 1.684 GB / 2.245 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/4.337, allocations: 86.58 kB / 2.245 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.6555/4.993, allocations: 68.38 MB / 2.312 GB, free: 197.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.909e-06/4.993, allocations: 2.844 kB / 2.312 GB, free: 197.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001968/4.993, allocations: 20.72 kB / 2.312 GB, free: 197.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003166/4.996, allocations: 1.114 MB / 2.313 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/4.996, allocations: 14.02 kB / 2.313 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/4.998, allocations: 211 kB / 2.313 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/4.999, allocations: 0.6245 MB / 2.313 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/4.999, allocations: 68.19 kB / 2.314 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/4.999, allocations: 84.72 kB / 2.314 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/5.001, allocations: 0.9039 MB / 2.315 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/5.001, allocations: 0.875 kB / 2.315 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/5.002, allocations: 37.23 kB / 2.315 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/5.002, allocations: 22.84 kB / 2.315 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/5.004, allocations: 1.081 MB / 2.316 GB, free: 196.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005458/5.009, allocations: 2.504 MB / 2.318 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/5.011, allocations: 0.8424 MB / 2.319 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/5.012, allocations: 259.1 kB / 2.319 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/5.012, allocations: 34.91 kB / 2.319 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005959/5.013, allocations: 414.1 kB / 2.32 GB, free: 195.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 3.156e-06/5.013, allocations: 1.688 kB / 2.32 GB, free: 195.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001677/5.014, allocations: 0.6892 MB / 2.32 GB, free: 195.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/5.014, allocations: 242.5 kB / 2.32 GB, free: 195.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007772/5.015, allocations: 0.5928 MB / 2.321 GB, free: 195.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/5.015, allocations: 42.14 kB / 2.321 GB, free: 195 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/5.016, allocations: 397.3 kB / 2.321 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/5.016, allocations: 243 kB / 2.322 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/5.016, allocations: 14.66 kB / 2.322 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001186/5.016, allocations: 383.7 kB / 2.322 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/5.016, allocations: 194.6 kB / 2.322 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/5.017, allocations: 311.7 kB / 2.323 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/5.017, allocations: 246.6 kB / 2.323 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/5.017, allocations: 0 / 2.323 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001405/5.018, allocations: 0.6884 MB / 2.323 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/5.018, allocations: 7.719 kB / 2.323 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/5.018, allocations: 0 / 2.323 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005691/5.019, allocations: 85.92 kB / 2.324 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/5.02, allocations: 141.8 kB / 2.324 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/5.021, allocations: 1.517 MB / 2.325 GB, free: 193 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/5.022, allocations: 86.19 kB / 2.325 GB, free: 192.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/5.022, allocations: 26.94 kB / 2.325 GB, free: 192.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/5.022, allocations: 147.3 kB / 2.325 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/5.022, allocations: 79.97 kB / 2.326 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/5.025, allocations: 0.9556 MB / 2.326 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/5.025, allocations: 10.19 kB / 2.326 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/5.025, allocations: 3.609 kB / 2.326 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/5.025, allocations: 7.281 kB / 2.326 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/5.028, allocations: 1.892 MB / 2.328 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/5.028, allocations: 3.906 kB / 2.328 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/5.028, allocations: 146.9 kB / 2.328 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/5.029, allocations: 85.56 kB / 2.329 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/5.029, allocations: 22.09 kB / 2.329 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/5.03, allocations: 1.541 MB / 2.33 GB, free: 191 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/5.03, allocations: 0 / 2.33 GB, free: 191 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/5.032, allocations: 0.8711 MB / 2.331 GB, free: 190.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/5.032, allocations: 283.5 kB / 2.331 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/5.032, allocations: 14 kB / 2.331 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/5.033, allocations: 74.31 kB / 2.331 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/5.033, allocations: 63.69 kB / 2.331 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/5.033, allocations: 30.11 kB / 2.331 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005878/5.034, allocations: 486.1 kB / 2.332 GB, free: 190.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/5.034, allocations: 0 / 2.332 GB, free: 190.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001241/5.035, allocations: 372.8 kB / 2.332 GB, free: 190.5 MB / 0.6042 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00196/5.037, allocations: 1.017 MB / 2.333 GB, free: 190.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001302/5.038, allocations: 0.6927 MB / 2.334 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/5.038, allocations: 5.984 kB / 2.334 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006693/5.039, allocations: 471 kB / 2.334 GB, free: 190.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/5.04, allocations: 244.1 kB / 2.335 GB, free: 190.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/5.044, allocations: 1.362 MB / 2.336 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/5.044, allocations: 1.04 MB / 2.337 GB, free: 189 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008682/5.045, allocations: 261.7 kB / 2.337 GB, free: 189 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/5.045, allocations: 105.8 kB / 2.337 GB, free: 189 MB / 0.6042 GB Notification: Performance of SimCode: time 2.635e-06/5.045, allocations: 0 / 2.337 GB, free: 189 MB / 0.6042 GB Notification: Performance of Templates: time 0.03418/5.079, allocations: 22.09 MB / 2.359 GB, free: 186.7 MB / 0.6042 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)