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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002134/0.002133, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.258/1.258, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.325/2.325, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 104.1 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.505e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8019, allocations: 82.31 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.371/10.17, allocations: 2.138 GB / 2.772 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/10.17, allocations: 90.75 kB / 2.772 GB, free: 121 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAir$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAir$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.MassFractionConnector 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/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 1.331/11.51, allocations: 141.1 MB / 2.91 GB, free: 138 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.795e-06/11.51, allocations: 2.734 kB / 2.91 GB, free: 138 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.772e-05/11.51, allocations: 5.875 kB / 2.91 GB, free: 138 MB / 0.6823 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.0008046/11.51, allocations: 446.7 kB / 2.91 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.338e-05/11.51, allocations: 15.23 kB / 2.91 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/11.51, allocations: 23.38 kB / 2.91 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/11.51, allocations: 262 kB / 2.91 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/11.51, allocations: 3.906 kB / 2.91 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/11.51, allocations: 15.53 kB / 2.91 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002579/11.51, allocations: 89.06 kB / 2.91 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/11.51, allocations: 288.6 kB / 2.911 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/11.51, allocations: 2.844 kB / 2.911 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/11.51, allocations: 3.969 kB / 2.911 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/11.51, allocations: 7.891 kB / 2.911 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/11.51, allocations: 1.893 MB / 2.913 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/11.51, allocations: 165.1 kB / 2.913 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/11.51, allocations: 91.94 kB / 2.913 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/11.51, allocations: 78.12 kB / 2.913 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/11.51, allocations: 105.9 kB / 2.913 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.866e-06/11.51, allocations: 0 / 2.913 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001225/11.51, allocations: 38.89 kB / 2.913 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/11.51, allocations: 54.12 kB / 2.913 GB, free: 135 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/11.51, allocations: 151.2 kB / 2.913 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/11.51, allocations: 26.36 kB / 2.913 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/11.51, allocations: 176.6 kB / 2.913 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/11.51, allocations: 7.406 kB / 2.913 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/11.51, allocations: 0 / 2.913 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/11.51, allocations: 320.8 kB / 2.914 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/11.51, allocations: 11.69 kB / 2.914 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/11.51, allocations: 53.97 kB / 2.914 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/11.51, allocations: 14.22 kB / 2.914 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/11.51, allocations: 6.422 kB / 2.914 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002064/11.51, allocations: 81.61 kB / 2.914 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/11.51, allocations: 7.859 kB / 2.914 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/11.51, allocations: 7.188 kB / 2.914 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/11.51, allocations: 0 / 2.914 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/11.51, allocations: 18.89 kB / 2.914 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/11.51, allocations: 7.75 kB / 2.914 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/11.51, allocations: 6.438 kB / 2.914 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/11.51, allocations: 3.906 kB / 2.914 GB, free: 134.3 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.428e-05/11.51, allocations: 176.3 kB / 2.914 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.753e-05/11.51, allocations: 145.7 kB / 2.914 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/11.51, allocations: 127.8 kB / 2.914 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/11.51, allocations: 110.1 kB / 2.914 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.993e-05/11.51, allocations: 180.7 kB / 2.915 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.406e-05/11.51, allocations: 180.1 kB / 2.915 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/11.51, allocations: 183.4 kB / 2.915 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/11.51, allocations: 439.8 kB / 2.915 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/11.51, allocations: 104.9 kB / 2.915 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/11.51, allocations: 101 kB / 2.916 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.661e-05/11.51, allocations: 178.1 kB / 2.916 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/11.51, allocations: 190 kB / 2.916 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.934e-05/11.51, allocations: 181.7 kB / 2.916 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.72e-05/11.51, allocations: 183.5 kB / 2.916 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/11.51, allocations: 310.9 kB / 2.917 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/11.51, allocations: 189.5 kB / 2.917 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/11.51, allocations: 180.2 kB / 2.917 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/11.51, allocations: 114 kB / 2.917 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/11.51, allocations: 179.5 kB / 2.917 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/11.51, allocations: 105.9 kB / 2.917 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001013/11.51, allocations: 116.1 kB / 2.917 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/11.51, allocations: 0 / 2.917 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000558/11.51, allocations: 75.17 kB / 2.917 GB, free: 130.7 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/11.52, allocations: 1.376 MB / 2.919 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001495/11.52, allocations: 29.62 kB / 2.919 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/11.52, allocations: 0 / 2.919 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/11.52, allocations: 0 / 2.919 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/11.52, allocations: 0.5263 MB / 2.919 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/11.52, allocations: 337.2 kB / 2.92 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/11.52, allocations: 0.7509 MB / 2.92 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.488e-05/11.52, allocations: 9.062 kB / 2.92 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.775e-05/11.52, allocations: 50.89 kB / 2.92 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of SimCode: time 7.21e-07/11.52, allocations: 2.406 kB / 2.92 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05003/11.57, allocations: 6.457 MB / 2.927 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/11.57, allocations: 145.2 kB / 2.927 GB, free: 128 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/14.48, allocations: 1.969 kB / 2.927 GB, free: 128 MB / 0.6823 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/linux/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)