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.00463/0.00463, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.0012/0.0012, allocations: 202.5 kB / 16.68 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7627/0.7627, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.89 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3658, allocations: 80.2 MB / 0.6592 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1646/0.5304, allocations: 148 MB / 0.8038 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005042/0.5355, allocations: 4.654 MB / 0.8083 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.5357, allocations: 11.94 kB / 0.8083 GB, free: 13.09 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.000477/0.5362, allocations: 161.1 kB / 0.8085 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.5365, allocations: 91.44 kB / 0.8086 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.5367, allocations: 63.86 kB / 0.8086 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.537, allocations: 302.8 kB / 0.8089 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.5373, allocations: 155.6 kB / 0.8091 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.5375, allocations: 107.6 kB / 0.8092 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.5377, allocations: 151.4 kB / 0.8093 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.5377, allocations: 16 kB / 0.8093 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 3.157e-05/0.5378, allocations: 16 kB / 0.8093 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.5379, allocations: 67.81 kB / 0.8094 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.538, allocations: 103.5 kB / 0.8095 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.5382, allocations: 238.6 kB / 0.8097 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/0.5383, allocations: 4 kB / 0.8097 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5383, allocations: 0 / 0.8097 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5383, allocations: 0 / 0.8097 GB, free: 11.65 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.0005027/0.5388, allocations: 496.6 kB / 0.8102 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.5388, allocations: 8.031 kB / 0.8102 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.5389, allocations: 58.73 kB / 0.8103 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.5389, allocations: 24.8 kB / 0.8103 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.5393, allocations: 280.8 kB / 0.8106 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.5393, allocations: 24.38 kB / 0.8106 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.5394, allocations: 23.98 kB / 0.8106 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.5398, allocations: 304.8 kB / 0.8109 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.5398, allocations: 0 / 0.8109 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.5398, allocations: 15.94 kB / 0.8109 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.5398, allocations: 8 kB / 0.8109 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.54, allocations: 127.7 kB / 0.811 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.5414, allocations: 1.962 MB / 0.813 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.382e-05/0.5415, allocations: 173.1 kB / 0.8131 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.5416, allocations: 80.14 kB / 0.8132 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.5416, allocations: 83.22 kB / 0.8133 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/0.5417, allocations: 113.9 kB / 0.8134 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5417, allocations: 0 / 0.8134 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 9.238e-05/0.5418, allocations: 49.56 kB / 0.8134 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.5419, allocations: 130.6 kB / 0.8136 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.5422, allocations: 332.5 kB / 0.8139 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.5423, allocations: 25.7 kB / 0.8139 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5424, allocations: 159.9 kB / 0.814 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.5424, allocations: 4 kB / 0.8141 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.5425, allocations: 25.67 kB / 0.8141 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5426, allocations: 334.8 kB / 0.8144 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.5426, allocations: 11.98 kB / 0.8144 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.5427, allocations: 54.88 kB / 0.8145 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/0.5428, allocations: 70.73 kB / 0.8145 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5428, allocations: 0 / 0.8145 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001745/0.543, allocations: 109.3 kB / 0.8146 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.543, allocations: 4 kB / 0.8146 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.543, allocations: 4 kB / 0.8146 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.543, allocations: 4.25 kB / 0.8146 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.5431, allocations: 19.98 kB / 0.8147 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.5431, allocations: 0 / 0.8147 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.5432, allocations: 27.73 kB / 0.8147 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.5432, allocations: 4 kB / 0.8147 GB, free: 6.176 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 0.0001521/0.5434, allocations: 217.9 kB / 0.8149 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.5434, allocations: 128.8 kB / 0.815 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.091e-05/0.5435, allocations: 129.8 kB / 0.8151 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-05/0.5436, allocations: 188.2 kB / 0.8153 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.218e-05/0.5437, allocations: 176.3 kB / 0.8155 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.107e-05/0.5438, allocations: 188.1 kB / 0.8157 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.5441, allocations: 477.1 kB / 0.8161 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-05/0.5442, allocations: 108.9 kB / 0.8162 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.5442, allocations: 105 kB / 0.8163 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.88e-05/0.5443, allocations: 184.3 kB / 0.8165 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.5444, allocations: 188.2 kB / 0.8167 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.423e-05/0.5445, allocations: 180.3 kB / 0.8169 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.828e-05/0.5446, allocations: 180.2 kB / 0.817 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.5447, allocations: 327.7 kB / 0.8173 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.5449, allocations: 213.8 kB / 0.8175 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/0.545, allocations: 180.3 kB / 0.8177 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5451, allocations: 104.9 kB / 0.8178 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/0.5452, allocations: 176.6 kB / 0.818 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.5452, allocations: 109 kB / 0.8181 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002319/0.5454, allocations: 235 kB / 0.8183 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5454, allocations: 0 / 0.8183 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002458/0.5457, allocations: 28 kB / 0.8183 GB, free: 2.211 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.0004451/0.5461, allocations: 0.8398 MB / 0.8192 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.5462, allocations: 19.92 kB / 0.8192 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5462, allocations: 0 / 0.8192 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.5463, allocations: 7.938 kB / 0.8192 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.547, allocations: 0.5146 MB / 0.8197 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.5495, allocations: 2.521 MB / 0.8222 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.5498, allocations: 0.748 MB / 0.8229 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.296e-05/0.5499, allocations: 26.28 kB / 0.8229 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.55, allocations: 63.41 kB / 0.823 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.55, allocations: 0 / 0.823 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2541/0.8041, allocations: 4.788 MB / 0.8276 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/9.164, allocations: 12.38 kB / 0.8277 GB, free: 8.684 MB / 0.6544 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)