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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009148/0.0009148, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5978/0.5978, allocations: 90.92 MB / 99.35 MB, free: 2.184 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.388/1.388, allocations: 221.5 MB / 343.2 MB, free: 1.602 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.0009368/0.0009367, allocations: 95.33 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.577e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.98/4.123, allocations: 1.684 GB / 2.237 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/4.123, allocations: 95.94 kB / 2.238 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.566/4.689, allocations: 67.55 MB / 2.303 GB, free: 196 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.295e-06/4.689, allocations: 0 / 2.303 GB, free: 196 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.101e-05/4.689, allocations: 24 kB / 2.304 GB, free: 196 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.002106/4.691, allocations: 1.114 MB / 2.305 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/4.691, allocations: 8.031 kB / 2.305 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/4.692, allocations: 206.5 kB / 2.305 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/4.693, allocations: 0.6308 MB / 2.305 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/4.694, allocations: 28 kB / 2.305 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/4.694, allocations: 52 kB / 2.305 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001317/4.695, allocations: 1.03 MB / 2.307 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/4.696, allocations: 0.7693 MB / 2.307 GB, free: 192 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/4.696, allocations: 0 / 2.307 GB, free: 192 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/4.696, allocations: 11.98 kB / 2.307 GB, free: 192 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/4.696, allocations: 20 kB / 2.307 GB, free: 192 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/4.7, allocations: 2.325 MB / 2.31 GB, free: 189.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/4.701, allocations: 0.7895 MB / 2.31 GB, free: 188.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/4.702, allocations: 251 kB / 2.311 GB, free: 188.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/4.702, allocations: 28.81 kB / 2.311 GB, free: 188.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005621/4.702, allocations: 395.8 kB / 2.311 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 1.814e-06/4.702, allocations: 0 / 2.311 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001425/4.704, allocations: 0.6485 MB / 2.312 GB, free: 187.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/4.704, allocations: 240.1 kB / 2.312 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/4.705, allocations: 498.2 kB / 2.312 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/4.705, allocations: 29.7 kB / 2.312 GB, free: 186.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/4.705, allocations: 403.9 kB / 2.313 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/4.705, allocations: 240.5 kB / 2.313 GB, free: 186 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/4.705, allocations: 0 / 2.313 GB, free: 186 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001033/4.705, allocations: 374.8 kB / 2.313 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/4.705, allocations: 185.5 kB / 2.313 GB, free: 185.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/4.706, allocations: 291.5 kB / 2.314 GB, free: 185.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/4.706, allocations: 248.5 kB / 2.314 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/4.706, allocations: 0 / 2.314 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00119/4.707, allocations: 0.6446 MB / 2.315 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/4.707, allocations: 4 kB / 2.315 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/4.707, allocations: 4.062 kB / 2.315 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/4.708, allocations: 80.72 kB / 2.315 GB, free: 184.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/4.708, allocations: 147.8 kB / 2.315 GB, free: 184 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/4.71, allocations: 1.449 MB / 2.316 GB, free: 182.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/4.71, allocations: 63.59 kB / 2.316 GB, free: 182.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/4.711, allocations: 27.98 kB / 2.316 GB, free: 182.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.0001474/4.711, allocations: 124.8 kB / 2.316 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001196/4.712, allocations: 0.6485 MB / 2.317 GB, free: 181.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/4.712, allocations: 67.16 kB / 2.317 GB, free: 181.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/4.714, allocations: 0.8985 MB / 2.318 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/4.714, allocations: 12.03 kB / 2.318 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/4.714, allocations: 0 / 2.318 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/4.714, allocations: 3.984 kB / 2.318 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/4.716, allocations: 1.702 MB / 2.32 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/4.716, allocations: 0 / 2.32 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/4.717, allocations: 151.8 kB / 2.32 GB, free: 178.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/4.717, allocations: 80.78 kB / 2.32 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/4.717, allocations: 15.98 kB / 2.32 GB, free: 178.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/4.718, allocations: 1.48 MB / 2.321 GB, free: 177 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/4.718, allocations: 64 / 2.321 GB, free: 177 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/4.72, allocations: 0.8221 MB / 2.322 GB, free: 176.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/4.72, allocations: 279.8 kB / 2.322 GB, free: 175.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.511e-05/4.72, allocations: 0 / 2.322 GB, free: 175.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/4.721, allocations: 59.92 kB / 2.323 GB, free: 175.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/4.721, allocations: 64.69 kB / 2.323 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/4.721, allocations: 27.98 kB / 2.323 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004555/4.721, allocations: 410.8 kB / 2.323 GB, free: 175.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/4.721, allocations: 0 / 2.323 GB, free: 175.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001342/4.723, allocations: 335 kB / 2.323 GB, free: 174.9 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.003321/4.726, allocations: 2.355 MB / 2.326 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001045/4.727, allocations: 0.64 MB / 2.326 GB, free: 172 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/4.727, allocations: 4 kB / 2.326 GB, free: 172 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005581/4.728, allocations: 456.3 kB / 2.327 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/4.729, allocations: 223.5 kB / 2.327 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/4.732, allocations: 1.51 MB / 2.328 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/4.733, allocations: 1.046 MB / 2.329 GB, free: 168.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008205/4.733, allocations: 249.8 kB / 2.33 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/4.734, allocations: 371.3 kB / 2.33 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/4.734, allocations: 0 / 2.33 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04952/4.783, allocations: 23.24 MB / 2.353 GB, free: 145 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/4.784, allocations: 205.1 kB / 2.353 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.851/7.635, allocations: 3.938 kB / 2.353 GB, free: 144.7 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)