Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001542/0.001542, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001698/0.001698, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.373/1.373, 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.7248/0.7248, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.58 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1787, allocations: 76.18 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6033/0.782, allocations: 174 MB / 0.8016 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008466/0.7905, allocations: 9.513 MB / 0.8109 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003494/0.7909, allocations: 12.25 kB / 0.8109 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.7915, allocations: 191.8 kB / 0.8111 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.7918, allocations: 97.7 kB / 0.8111 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.792, allocations: 64.59 kB / 0.8112 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.7924, allocations: 326 kB / 0.8115 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.7927, allocations: 207.7 kB / 0.8117 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.793, allocations: 171.1 kB / 0.8119 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.7932, allocations: 117.1 kB / 0.812 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.7932, allocations: 20.38 kB / 0.812 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.631e-05/0.7932, allocations: 22.62 kB / 0.812 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.7933, allocations: 75.22 kB / 0.8121 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.7935, allocations: 128 kB / 0.8122 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.7938, allocations: 301 kB / 0.8125 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7938, allocations: 0 / 0.8125 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7938, allocations: 7.938 kB / 0.8125 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.7938, allocations: 0 / 0.8125 GB, free: 10.85 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005334/0.7943, allocations: 0.5073 MB / 0.813 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.7944, allocations: 7.688 kB / 0.813 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.911e-05/0.7945, allocations: 65.31 kB / 0.8131 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.7945, allocations: 34.41 kB / 0.8131 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.7949, allocations: 277.8 kB / 0.8134 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.7949, allocations: 20.34 kB / 0.8134 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.795, allocations: 25.12 kB / 0.8134 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.7954, allocations: 318.2 kB / 0.8137 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.7955, allocations: 7.922 kB / 0.8137 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.7955, allocations: 11.81 kB / 0.8137 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.7955, allocations: 7.469 kB / 0.8138 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.7957, allocations: 150.8 kB / 0.8139 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.797, allocations: 1.817 MB / 0.8157 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.7971, allocations: 168.8 kB / 0.8158 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.7971, allocations: 84.14 kB / 0.8159 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.7972, allocations: 81.5 kB / 0.816 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.7972, allocations: 109.8 kB / 0.8161 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7972, allocations: 0 / 0.8161 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.683e-05/0.7973, allocations: 53.81 kB / 0.8161 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.7974, allocations: 128.9 kB / 0.8163 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.7977, allocations: 380.4 kB / 0.8166 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.7978, allocations: 25.7 kB / 0.8167 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.7979, allocations: 160.4 kB / 0.8168 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-06/0.7979, allocations: 2.781 kB / 0.8168 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.7979, allocations: 19.34 kB / 0.8168 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7981, allocations: 344.5 kB / 0.8172 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.7981, allocations: 2.25 kB / 0.8172 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/0.7981, allocations: 39.98 kB / 0.8172 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.488e-05/0.7982, allocations: 46.41 kB / 0.8172 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7982, allocations: 0 / 0.8172 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001432/0.7983, allocations: 90.47 kB / 0.8173 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7984, allocations: 4.844 kB / 0.8173 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7984, allocations: 2.219 kB / 0.8173 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.7984, allocations: 2.906 kB / 0.8173 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.7984, allocations: 9.469 kB / 0.8173 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7985, allocations: 2.219 kB / 0.8174 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.7985, allocations: 27.47 kB / 0.8174 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.7985, allocations: 6.688 kB / 0.8174 GB, free: 6.777 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001358/0.7987, allocations: 217.7 kB / 0.8176 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.7988, allocations: 133.7 kB / 0.8177 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.7988, allocations: 135.2 kB / 0.8178 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-05/0.7989, allocations: 176.3 kB / 0.818 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.354e-05/0.799, allocations: 186.4 kB / 0.8182 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.983e-05/0.799, allocations: 183.4 kB / 0.8184 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.7993, allocations: 491.8 kB / 0.8188 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/0.7994, allocations: 104.9 kB / 0.8189 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.7994, allocations: 105 kB / 0.819 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.586e-05/0.7995, allocations: 183.2 kB / 0.8192 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.7995, allocations: 180.3 kB / 0.8194 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.281e-05/0.7996, allocations: 191.7 kB / 0.8196 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.656e-05/0.7996, allocations: 178.4 kB / 0.8197 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.7998, allocations: 329.7 kB / 0.8201 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.7999, allocations: 213.2 kB / 0.8203 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.8, allocations: 186.6 kB / 0.8204 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.8001, allocations: 101 kB / 0.8205 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.8002, allocations: 178.4 kB / 0.8207 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.8002, allocations: 112.3 kB / 0.8208 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002199/0.8004, allocations: 266.2 kB / 0.8211 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8004, allocations: 0 / 0.8211 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002401/0.8007, allocations: 35.56 kB / 0.8211 GB, free: 3.102 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.0003644/0.801, allocations: 0.8281 MB / 0.8219 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.522e-05/0.8011, allocations: 17.55 kB / 0.8219 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8011, allocations: 0 / 0.8219 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-06/0.8011, allocations: 7.031 kB / 0.8219 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000781/0.8019, allocations: 0.5505 MB / 0.8225 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.8043, allocations: 2.684 MB / 0.8251 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.8045, allocations: 0.7484 MB / 0.8258 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.005e-05/0.8046, allocations: 32.28 kB / 0.8258 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.8047, allocations: 80 kB / 0.8259 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.8047, allocations: 0 / 0.8259 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.8279, allocations: 5.989 MB / 0.8318 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/8.268, allocations: 10.06 kB / 0.8318 GB, free: 12.33 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)