Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_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.006889/0.006889, allocations: 102.1 kB / 15.73 MB, free: 6.035 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.00158/0.00158, allocations: 190.2 kB / 16.67 MB, free: 5.969 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7294/0.7294, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 66.77 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1577, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1449/0.3026, allocations: 148 MB / 0.8038 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.3075, allocations: 4.65 MB / 0.8083 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.3078, allocations: 11.94 kB / 0.8083 GB, free: 4.746 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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/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.0005978/0.3084, allocations: 162.9 kB / 0.8085 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.3088, allocations: 91.38 kB / 0.8086 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.309, allocations: 67.86 kB / 0.8086 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.3093, allocations: 298.8 kB / 0.8089 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.3096, allocations: 155.6 kB / 0.8091 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3098, allocations: 111.6 kB / 0.8092 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.31, allocations: 147.5 kB / 0.8093 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.31, allocations: 16 kB / 0.8093 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.3101, allocations: 19.94 kB / 0.8093 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.3102, allocations: 59.83 kB / 0.8094 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.3102, allocations: 111.5 kB / 0.8095 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3105, allocations: 230.8 kB / 0.8097 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3105, allocations: 4 kB / 0.8097 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3105, allocations: 0 / 0.8097 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3105, allocations: 0 / 0.8097 GB, free: 3.301 MB / 0.6387 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.0004545/0.311, allocations: 499 kB / 0.8102 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.311, allocations: 8.031 kB / 0.8102 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.3111, allocations: 54.73 kB / 0.8103 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.3111, allocations: 28.66 kB / 0.8103 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3114, allocations: 275.8 kB / 0.8105 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3115, allocations: 16.38 kB / 0.8106 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.3115, allocations: 23.98 kB / 0.8106 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.3119, allocations: 300.9 kB / 0.8109 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3119, allocations: 0 / 0.8109 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3119, allocations: 12 kB / 0.8109 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.3119, allocations: 12 kB / 0.8109 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.3121, allocations: 123.7 kB / 0.811 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2871/0.5992, allocations: 1.965 MB / 0.8129 GB, free: 157.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/0.5993, allocations: 170.4 kB / 0.8131 GB, free: 157.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.5993, allocations: 81.28 kB / 0.8132 GB, free: 157.6 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.5993, allocations: 80.41 kB / 0.8132 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.5994, allocations: 108.8 kB / 0.8134 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.5994, allocations: 0.5625 kB / 0.8134 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001039/0.5995, allocations: 52.53 kB / 0.8134 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.5995, allocations: 131.6 kB / 0.8135 GB, free: 157.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.5999, allocations: 335.3 kB / 0.8138 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-06/0.6, allocations: 25.7 kB / 0.8139 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.6001, allocations: 165.1 kB / 0.814 GB, free: 157 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.6001, allocations: 2.469 kB / 0.814 GB, free: 157 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.6001, allocations: 21.12 kB / 0.8141 GB, free: 157 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.6002, allocations: 337.5 kB / 0.8144 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.6002, allocations: 8.75 kB / 0.8144 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.6003, allocations: 52.77 kB / 0.8144 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.579e-05/0.6003, allocations: 72.47 kB / 0.8145 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.6003, allocations: 2.078 kB / 0.8145 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001673/0.6005, allocations: 109 kB / 0.8146 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.6005, allocations: 9.656 kB / 0.8146 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6005, allocations: 2.062 kB / 0.8146 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.6006, allocations: 3.25 kB / 0.8146 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.6006, allocations: 13.16 kB / 0.8146 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6007, allocations: 6.922 kB / 0.8146 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.6007, allocations: 23.62 kB / 0.8147 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.6007, allocations: 5.312 kB / 0.8147 GB, free: 156.5 MB / 0.6387 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 9.067e-05/0.6008, allocations: 212.8 kB / 0.8149 GB, free: 156.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.6009, allocations: 129.2 kB / 0.815 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.6009, allocations: 131.1 kB / 0.8151 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.601, allocations: 177.7 kB / 0.8153 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.503e-05/0.601, allocations: 186.2 kB / 0.8155 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.601, allocations: 177.5 kB / 0.8156 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.6012, allocations: 480.7 kB / 0.8161 GB, free: 155.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.6013, allocations: 103.1 kB / 0.8162 GB, free: 155 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.6013, allocations: 110.4 kB / 0.8163 GB, free: 154.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.282e-05/0.6013, allocations: 185.6 kB / 0.8165 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.6013, allocations: 181.9 kB / 0.8166 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.611e-05/0.6014, allocations: 177.9 kB / 0.8168 GB, free: 154.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.242e-05/0.6014, allocations: 186.3 kB / 0.817 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.585e-05/0.6015, allocations: 322.4 kB / 0.8173 GB, free: 153.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.6015, allocations: 216 kB / 0.8175 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.6016, allocations: 185.5 kB / 0.8177 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.6017, allocations: 109.1 kB / 0.8178 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.6017, allocations: 184.3 kB / 0.818 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.6017, allocations: 103.1 kB / 0.8181 GB, free: 153 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002056/0.6019, allocations: 236.4 kB / 0.8183 GB, free: 153 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6019, allocations: 3.656 kB / 0.8183 GB, free: 153 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002447/0.6022, allocations: 24.94 kB / 0.8183 GB, free: 153 MB / 0.6387 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.0002125/0.6024, allocations: 0.8292 MB / 0.8191 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.571e-05/0.6025, allocations: 28.69 kB / 0.8192 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6025, allocations: 0 / 0.8192 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.6025, allocations: 0 / 0.8192 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.6031, allocations: 0.5277 MB / 0.8197 GB, free: 151.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.6051, allocations: 2.514 MB / 0.8221 GB, free: 149.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.6053, allocations: 0.7423 MB / 0.8229 GB, free: 149.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.595e-05/0.6054, allocations: 30.36 kB / 0.8229 GB, free: 149.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.6055, allocations: 59.33 kB / 0.8229 GB, free: 149.2 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.6055, allocations: 0 / 0.8229 GB, free: 149.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.6278, allocations: 4.847 MB / 0.8277 GB, free: 148.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/8.052, allocations: 7.188 kB / 0.8277 GB, free: 148.6 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)