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.001145/0.001145, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5011/0.5011, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009584/0.0009587, allocations: 90.33 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.417e-05/1.421e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1408, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.257/4.398, allocations: 1.684 GB / 2.237 GB, free: 9.445 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/4.399, allocations: 95.94 kB / 2.237 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.658/5.057, allocations: 67.54 MB / 2.303 GB, free: 197 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.236e-06/5.057, allocations: 0 / 2.303 GB, free: 197 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.548e-05/5.057, allocations: 28 kB / 2.303 GB, free: 197 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.002122/5.059, allocations: 1.11 MB / 2.304 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/5.059, allocations: 8.031 kB / 2.305 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/5.06, allocations: 214.5 kB / 2.305 GB, free: 195.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/5.061, allocations: 0.6269 MB / 2.305 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/5.061, allocations: 32 kB / 2.305 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/5.061, allocations: 48 kB / 2.305 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001379/5.063, allocations: 1.023 MB / 2.306 GB, free: 193.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/5.064, allocations: 0.781 MB / 2.307 GB, free: 193 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/5.064, allocations: 0 / 2.307 GB, free: 193 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/5.064, allocations: 0 / 2.307 GB, free: 193 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/5.064, allocations: 24 kB / 2.307 GB, free: 193 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/5.067, allocations: 2.325 MB / 2.309 GB, free: 190.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/5.069, allocations: 0.7856 MB / 2.31 GB, free: 189.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/5.069, allocations: 247.1 kB / 2.31 GB, free: 189.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.673e-05/5.069, allocations: 44.67 kB / 2.31 GB, free: 189.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/5.07, allocations: 383.8 kB / 2.311 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 1.883e-06/5.07, allocations: 0 / 2.311 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001448/5.072, allocations: 0.6485 MB / 2.311 GB, free: 188.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/5.072, allocations: 240.1 kB / 2.312 GB, free: 188.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/5.072, allocations: 498.3 kB / 2.312 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/5.072, allocations: 25.7 kB / 2.312 GB, free: 187.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/5.073, allocations: 415.8 kB / 2.313 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/5.073, allocations: 228.6 kB / 2.313 GB, free: 187 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/5.073, allocations: 3.938 kB / 2.313 GB, free: 187 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001252/5.073, allocations: 374.8 kB / 2.313 GB, free: 186.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/5.073, allocations: 185.5 kB / 2.313 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/5.073, allocations: 295.5 kB / 2.314 GB, free: 186.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/5.074, allocations: 236.4 kB / 2.314 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/5.074, allocations: 0 / 2.314 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001193/5.075, allocations: 0.6408 MB / 2.315 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/5.075, allocations: 4 kB / 2.315 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/5.075, allocations: 4 kB / 2.315 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/5.076, allocations: 80.83 kB / 2.315 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/5.076, allocations: 143.8 kB / 2.315 GB, free: 185 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/5.078, allocations: 1.457 MB / 2.316 GB, free: 183.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/5.078, allocations: 63.48 kB / 2.316 GB, free: 183.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/5.078, allocations: 28.05 kB / 2.316 GB, free: 183.3 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.0001636/5.079, allocations: 121.8 kB / 2.316 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/5.079, allocations: 71.16 kB / 2.316 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/5.08, allocations: 0.9026 MB / 2.317 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/5.08, allocations: 11.95 kB / 2.317 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/5.08, allocations: 0 / 2.317 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/5.08, allocations: 3.984 kB / 2.317 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/5.083, allocations: 1.71 MB / 2.319 GB, free: 180.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/5.083, allocations: 0 / 2.319 GB, free: 180.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/5.083, allocations: 143.8 kB / 2.319 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/5.084, allocations: 84.77 kB / 2.319 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/5.084, allocations: 15.98 kB / 2.319 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/5.085, allocations: 1.477 MB / 2.321 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/5.085, allocations: 3.984 kB / 2.321 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/5.086, allocations: 0.8222 MB / 2.321 GB, free: 177.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/5.087, allocations: 279.8 kB / 2.322 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/5.087, allocations: 0 / 2.322 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/5.087, allocations: 51.95 kB / 2.322 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/5.088, allocations: 68.56 kB / 2.322 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/5.088, allocations: 35.94 kB / 2.322 GB, free: 177.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000403/5.088, allocations: 398.9 kB / 2.322 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/5.088, allocations: 0 / 2.322 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001149/5.089, allocations: 338.9 kB / 2.323 GB, free: 176.6 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.001874/5.091, allocations: 1.084 MB / 2.324 GB, free: 175.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001071/5.092, allocations: 0.636 MB / 2.324 GB, free: 175 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/5.092, allocations: 4.125 kB / 2.324 GB, free: 175 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005527/5.093, allocations: 452.4 kB / 2.325 GB, free: 174.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/5.094, allocations: 219.3 kB / 2.325 GB, free: 174.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/5.097, allocations: 1.321 MB / 2.326 GB, free: 172.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/5.097, allocations: 1.035 MB / 2.327 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008751/5.098, allocations: 253.7 kB / 2.327 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/5.098, allocations: 91.39 kB / 2.328 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.392e-06/5.098, allocations: 0 / 2.328 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.02678/5.125, allocations: 15.59 MB / 2.343 GB, free: 156 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)