Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 103.5 kB / 16.4 MB, free: 6.5 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.001159/0.00116, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6839/0.6839, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 72.33 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1474, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5218/0.6692, allocations: 170.3 MB / 0.7979 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.6745, allocations: 5.999 MB / 0.8038 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.6749, allocations: 12.31 kB / 0.8038 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.6755, allocations: 179 kB / 0.8039 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.6758, allocations: 92.81 kB / 0.804 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.6771, allocations: 0.5132 MB / 0.8045 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.6775, allocations: 424.6 kB / 0.8049 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.6778, allocations: 139.2 kB / 0.8051 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.6781, allocations: 188.2 kB / 0.8053 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.6783, allocations: 156.8 kB / 0.8054 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.6783, allocations: 14.97 kB / 0.8054 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006608/0.679, allocations: 456.2 kB / 0.8058 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.6791, allocations: 72.02 kB / 0.8059 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.6792, allocations: 104.8 kB / 0.806 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.6798, allocations: 451.7 kB / 0.8064 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6798, allocations: 3.312 kB / 0.8065 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6798, allocations: 0 / 0.8065 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.6798, allocations: 0 / 0.8065 GB, free: 11.65 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005845/0.6804, allocations: 0.5206 MB / 0.807 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6804, allocations: 9.781 kB / 0.807 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.6805, allocations: 63.47 kB / 0.807 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.6808, allocations: 48.81 kB / 0.8071 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.6812, allocations: 258.2 kB / 0.8073 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.6813, allocations: 132.5 kB / 0.8074 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.6813, allocations: 21.69 kB / 0.8075 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.6817, allocations: 293.7 kB / 0.8077 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6818, allocations: 6.375 kB / 0.8078 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.6818, allocations: 13 kB / 0.8078 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.6818, allocations: 5.656 kB / 0.8078 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.6821, allocations: 170.5 kB / 0.8079 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.6834, allocations: 1.579 MB / 0.8095 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.6835, allocations: 177.1 kB / 0.8096 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.6835, allocations: 80.14 kB / 0.8097 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.6835, allocations: 77.38 kB / 0.8098 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.6836, allocations: 109.4 kB / 0.8099 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.6836, allocations: 0 / 0.8099 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.694e-05/0.6837, allocations: 47.55 kB / 0.8099 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.6837, allocations: 130.7 kB / 0.8101 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.6841, allocations: 313 kB / 0.8104 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.6841, allocations: 25.7 kB / 0.8104 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.6842, allocations: 191.5 kB / 0.8106 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.6842, allocations: 2.969 kB / 0.8106 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.6843, allocations: 46.67 kB / 0.8106 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6844, allocations: 326.5 kB / 0.8109 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.6845, allocations: 36.12 kB / 0.811 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.6846, allocations: 163.8 kB / 0.8111 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.6848, allocations: 201.8 kB / 0.8113 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.6848, allocations: 6.031 kB / 0.8113 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003457/0.6852, allocations: 214.9 kB / 0.8115 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6852, allocations: 11.53 kB / 0.8115 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6852, allocations: 4.688 kB / 0.8115 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6853, allocations: 9.078 kB / 0.8116 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.6854, allocations: 38.7 kB / 0.8116 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.6854, allocations: 13.06 kB / 0.8116 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.6856, allocations: 30.31 kB / 0.8116 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.6856, allocations: 9.531 kB / 0.8116 GB, free: 7.492 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.6857, allocations: 222.1 kB / 0.8119 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.6858, allocations: 123.5 kB / 0.812 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.6859, allocations: 125.2 kB / 0.8121 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/0.6859, allocations: 186.4 kB / 0.8123 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-05/0.686, allocations: 180.2 kB / 0.8124 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-05/0.686, allocations: 184.2 kB / 0.8126 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.6863, allocations: 477.8 kB / 0.8131 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/0.6864, allocations: 112 kB / 0.8132 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.6864, allocations: 106.9 kB / 0.8133 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-05/0.6865, allocations: 184.4 kB / 0.8135 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.6865, allocations: 186.1 kB / 0.8136 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-05/0.6866, allocations: 176.3 kB / 0.8138 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.228e-05/0.6867, allocations: 187 kB / 0.814 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.6868, allocations: 317.4 kB / 0.8143 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/0.6869, allocations: 208.5 kB / 0.8145 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.687, allocations: 184.2 kB / 0.8147 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.6871, allocations: 110.7 kB / 0.8148 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.6872, allocations: 179.4 kB / 0.8149 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.6872, allocations: 101 kB / 0.815 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002002/0.6874, allocations: 225.2 kB / 0.8152 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6874, allocations: 0 / 0.8152 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003333/0.6878, allocations: 54.12 kB / 0.8153 GB, free: 3.836 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004961/0.6883, allocations: 0.8545 MB / 0.8161 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.6885, allocations: 81.28 kB / 0.8162 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6885, allocations: 0 / 0.8162 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.6885, allocations: 2.781 kB / 0.8162 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.6889, allocations: 480.7 kB / 0.8167 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.6914, allocations: 2.5 MB / 0.8191 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.6917, allocations: 0.741 MB / 0.8198 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000118/0.6918, allocations: 38.81 kB / 0.8199 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.6919, allocations: 60.2 kB / 0.8199 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.6919, allocations: 0 / 0.8199 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.7124, allocations: 4.078 MB / 0.8239 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.848, allocations: 6.875 kB / 0.8239 GB, free: 13.8 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)