Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.004499/0.004499, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001214/0.001214, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8346/0.8346, allocations: 135.6 MB / 426.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 62.86 kB / 0.5858 GB, free: 21.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.137, allocations: 81.03 MB / 0.6649 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4409/0.5779, allocations: 148 MB / 0.8094 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003653/0.5816, allocations: 4.654 MB / 0.814 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.5818, allocations: 10.38 kB / 0.814 GB, free: 11.03 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.5823, allocations: 161.1 kB / 0.8141 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.5826, allocations: 86.52 kB / 0.8142 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.5827, allocations: 65.42 kB / 0.8143 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.5831, allocations: 308.4 kB / 0.8146 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.5834, allocations: 148.5 kB / 0.8147 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.5835, allocations: 110.8 kB / 0.8148 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.5837, allocations: 161.5 kB / 0.815 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.5838, allocations: 15.12 kB / 0.815 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.5838, allocations: 16.5 kB / 0.815 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-05/0.5839, allocations: 63.08 kB / 0.8151 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.919e-05/0.584, allocations: 101.8 kB / 0.8152 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.5842, allocations: 241.3 kB / 0.8154 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5842, allocations: 0 / 0.8154 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5842, allocations: 1.375 kB / 0.8154 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.5843, allocations: 0.6562 kB / 0.8154 GB, free: 10.15 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004725/0.5847, allocations: 497.1 kB / 0.8159 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.5848, allocations: 13.05 kB / 0.8159 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.5848, allocations: 60.61 kB / 0.8159 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.5849, allocations: 25.33 kB / 0.816 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.5852, allocations: 276.5 kB / 0.8162 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.5853, allocations: 18.56 kB / 0.8162 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.5853, allocations: 28.97 kB / 0.8163 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.5857, allocations: 302.7 kB / 0.8165 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5857, allocations: 2.469 kB / 0.8166 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.5857, allocations: 13.75 kB / 0.8166 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5857, allocations: 8.25 kB / 0.8166 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.5859, allocations: 124.2 kB / 0.8167 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.5872, allocations: 1.962 MB / 0.8186 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.01e-05/0.5873, allocations: 177.1 kB / 0.8188 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.5874, allocations: 80.14 kB / 0.8189 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.5874, allocations: 75.28 kB / 0.8189 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.5875, allocations: 115.9 kB / 0.819 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5875, allocations: 0 / 0.819 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.985e-05/0.5876, allocations: 55.55 kB / 0.8191 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.5876, allocations: 133 kB / 0.8192 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.588, allocations: 331.6 kB / 0.8195 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.588, allocations: 25.7 kB / 0.8196 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.5881, allocations: 158.9 kB / 0.8197 GB, free: 6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.5881, allocations: 4 kB / 0.8197 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.5882, allocations: 24.77 kB / 0.8197 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5883, allocations: 332.6 kB / 0.8201 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.5883, allocations: 16.86 kB / 0.8201 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/0.5884, allocations: 50.28 kB / 0.8201 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/0.5885, allocations: 71.45 kB / 0.8202 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5885, allocations: 0 / 0.8202 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001558/0.5886, allocations: 108.8 kB / 0.8203 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5887, allocations: 10 kB / 0.8203 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5887, allocations: 2.156 kB / 0.8203 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5887, allocations: 2.625 kB / 0.8203 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.5887, allocations: 16.17 kB / 0.8203 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5888, allocations: 4.219 kB / 0.8203 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.5888, allocations: 23.53 kB / 0.8203 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.5889, allocations: 8.922 kB / 0.8204 GB, free: 5.383 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001383/0.589, allocations: 221.6 kB / 0.8206 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.5891, allocations: 130.9 kB / 0.8207 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.5892, allocations: 133.5 kB / 0.8208 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-05/0.5892, allocations: 178.1 kB / 0.821 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.032e-05/0.5893, allocations: 179.2 kB / 0.8212 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.395e-05/0.5894, allocations: 188.2 kB / 0.8213 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.5897, allocations: 479.6 kB / 0.8218 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-05/0.5898, allocations: 108.5 kB / 0.8219 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.5898, allocations: 105 kB / 0.822 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.462e-05/0.5899, allocations: 186 kB / 0.8222 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/0.59, allocations: 180.2 kB / 0.8223 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.058e-05/0.59, allocations: 183.2 kB / 0.8225 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.768e-05/0.5901, allocations: 180.2 kB / 0.8227 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.5903, allocations: 328.5 kB / 0.823 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.5904, allocations: 215.9 kB / 0.8232 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.5905, allocations: 176.3 kB / 0.8234 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.5906, allocations: 112.9 kB / 0.8235 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.5907, allocations: 179 kB / 0.8237 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.5907, allocations: 101 kB / 0.8238 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002171/0.591, allocations: 241.8 kB / 0.824 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.591, allocations: 3.938 kB / 0.824 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002844/0.5913, allocations: 22.81 kB / 0.824 GB, free: 1.609 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.0004218/0.5917, allocations: 0.8362 MB / 0.8248 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.205e-05/0.5918, allocations: 27.45 kB / 0.8249 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5918, allocations: 0 / 0.8249 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-06/0.5918, allocations: 4.438 kB / 0.8249 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.5925, allocations: 0.5184 MB / 0.8254 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.5948, allocations: 2.507 MB / 0.8278 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.5952, allocations: 0.7422 MB / 0.8285 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.773e-05/0.5953, allocations: 29.84 kB / 0.8286 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.5954, allocations: 61.53 kB / 0.8286 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.5954, allocations: 0 / 0.8286 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3422/0.9375, allocations: 4.808 MB / 0.8333 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.094/10.03, allocations: 11.2 kB / 0.8333 GB, free: 11.11 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)