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.00618/0.00618, allocations: 101.1 kB / 15.73 MB, free: 6.012 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.001268/0.001268, allocations: 187 kB / 16.67 MB, free: 5.949 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7111/0.7111, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.88 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1576, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1499/0.3075, allocations: 148 MB / 0.8038 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005223/0.3128, allocations: 4.65 MB / 0.8083 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.3132, allocations: 4 kB / 0.8083 GB, free: 4.734 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.0006018/0.3138, allocations: 166.8 kB / 0.8085 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004382/0.3143, allocations: 87.44 kB / 0.8085 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.3145, allocations: 67.92 kB / 0.8086 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.3149, allocations: 306.8 kB / 0.8089 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.3153, allocations: 139.7 kB / 0.809 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.3155, allocations: 115.5 kB / 0.8091 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.3157, allocations: 147.5 kB / 0.8093 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.3158, allocations: 20 kB / 0.8093 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.3158, allocations: 16 kB / 0.8093 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.3159, allocations: 67.75 kB / 0.8094 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.316, allocations: 99.48 kB / 0.8095 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3163, allocations: 238.7 kB / 0.8097 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3163, allocations: 0 / 0.8097 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3163, allocations: 0 / 0.8097 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.3163, allocations: 0 / 0.8097 GB, free: 3.293 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.0005311/0.3169, allocations: 499 kB / 0.8102 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3169, allocations: 15.97 kB / 0.8102 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.317, allocations: 50.73 kB / 0.8102 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.3171, allocations: 32.66 kB / 0.8103 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.3174, allocations: 275.1 kB / 0.8105 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.3175, allocations: 20.38 kB / 0.8106 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.3175, allocations: 16 kB / 0.8106 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.3179, allocations: 304.9 kB / 0.8109 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3179, allocations: 3.938 kB / 0.8109 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.3179, allocations: 12 kB / 0.8109 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.318, allocations: 11.98 kB / 0.8109 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.3181, allocations: 119.8 kB / 0.811 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3156/0.6337, allocations: 1.965 MB / 0.8129 GB, free: 157.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.6338, allocations: 167.1 kB / 0.8131 GB, free: 157.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.6338, allocations: 83.77 kB / 0.8132 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.6339, allocations: 81.53 kB / 0.8132 GB, free: 157 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.6339, allocations: 111.7 kB / 0.8133 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.6339, allocations: 0 / 0.8133 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.00011/0.634, allocations: 49.67 kB / 0.8134 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.6341, allocations: 127.9 kB / 0.8135 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.6345, allocations: 333 kB / 0.8138 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.6345, allocations: 28.55 kB / 0.8139 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.6346, allocations: 166.3 kB / 0.814 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-06/0.6346, allocations: 4.75 kB / 0.814 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.6347, allocations: 23.53 kB / 0.814 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.6348, allocations: 333.6 kB / 0.8144 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.6348, allocations: 9.344 kB / 0.8144 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.6348, allocations: 53.36 kB / 0.8144 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.745e-05/0.6349, allocations: 71.53 kB / 0.8145 GB, free: 156 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6349, allocations: 2.906 kB / 0.8145 GB, free: 156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000181/0.6351, allocations: 108.3 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6351, allocations: 5.531 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6351, allocations: 2.406 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6351, allocations: 3.25 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.6352, allocations: 19 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6352, allocations: 3.719 kB / 0.8146 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.6353, allocations: 26 kB / 0.8147 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.6353, allocations: 3.25 kB / 0.8147 GB, free: 156 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 8.451e-05/0.6354, allocations: 218.1 kB / 0.8149 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.6355, allocations: 132 kB / 0.815 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.6355, allocations: 126.5 kB / 0.8151 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/0.6356, allocations: 181.2 kB / 0.8153 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/0.6356, allocations: 181.4 kB / 0.8155 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.6356, allocations: 180.5 kB / 0.8156 GB, free: 155 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.6359, allocations: 477.4 kB / 0.8161 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.6359, allocations: 105.6 kB / 0.8162 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.6359, allocations: 115.4 kB / 0.8163 GB, free: 154.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/0.6359, allocations: 181.2 kB / 0.8165 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.636, allocations: 178.4 kB / 0.8166 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.37e-05/0.636, allocations: 185.1 kB / 0.8168 GB, free: 153.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-05/0.636, allocations: 182.8 kB / 0.817 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.78e-05/0.6361, allocations: 322.6 kB / 0.8173 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.6362, allocations: 215.5 kB / 0.8175 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.6362, allocations: 186.4 kB / 0.8177 GB, free: 152.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.6363, allocations: 101.9 kB / 0.8178 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.6363, allocations: 181 kB / 0.818 GB, free: 152.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.6364, allocations: 103 kB / 0.8181 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002082/0.6366, allocations: 242.6 kB / 0.8183 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6366, allocations: 0 / 0.8183 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000246/0.6368, allocations: 25.27 kB / 0.8183 GB, free: 152.4 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.0002177/0.637, allocations: 0.8313 MB / 0.8191 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.759e-05/0.6371, allocations: 24.45 kB / 0.8191 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6371, allocations: 0 / 0.8191 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.6372, allocations: 4.5 kB / 0.8191 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.6377, allocations: 0.5254 MB / 0.8197 GB, free: 151.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.6398, allocations: 2.508 MB / 0.8221 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.64, allocations: 0.7448 MB / 0.8228 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.923e-05/0.6401, allocations: 30.22 kB / 0.8229 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.6402, allocations: 62.78 kB / 0.8229 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.6402, allocations: 0 / 0.8229 GB, free: 148.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.6658, allocations: 4.854 MB / 0.8277 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.895, allocations: 12.06 kB / 0.8277 GB, free: 148.4 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)