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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 178.4 kB / 7.65 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 0.8029/0.8029, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.001006/0.001006, allocations: 104.1 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.961e-05, allocations: 0 / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5273, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.577/6.105, allocations: 2.138 GB / 2.772 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/6.105, allocations: 83.95 kB / 2.772 GB, free: 176.6 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 0.2451/6.35, allocations: 141.1 MB / 2.91 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.393e-06/6.35, allocations: 0 / 2.91 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.716e-05/6.35, allocations: 12 kB / 2.91 GB, free: 33.88 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.0003626/6.35, allocations: 440.3 kB / 2.91 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/6.35, allocations: 12.03 kB / 2.91 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/6.351, allocations: 23.72 kB / 2.91 GB, free: 33.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/6.351, allocations: 264.8 kB / 2.91 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/6.351, allocations: 8 kB / 2.91 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/6.351, allocations: 12 kB / 2.91 GB, free: 33.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001736/6.351, allocations: 92.78 kB / 2.91 GB, free: 32.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/6.351, allocations: 291.4 kB / 2.911 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/6.351, allocations: 4 kB / 2.911 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/6.351, allocations: 0 / 2.911 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/6.351, allocations: 8 kB / 2.911 GB, free: 32.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/6.352, allocations: 1.889 MB / 2.913 GB, free: 30.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.956e-05/6.352, allocations: 173 kB / 2.913 GB, free: 30.44 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/6.352, allocations: 88.14 kB / 2.913 GB, free: 30.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/6.352, allocations: 75.28 kB / 2.913 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/6.352, allocations: 105.8 kB / 2.913 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/6.352, allocations: 0 / 2.913 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.674e-05/6.353, allocations: 41.64 kB / 2.913 GB, free: 30.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/6.353, allocations: 51.41 kB / 2.913 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/6.353, allocations: 153.4 kB / 2.913 GB, free: 29.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/6.353, allocations: 29.7 kB / 2.913 GB, free: 29.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/6.353, allocations: 183.4 kB / 2.913 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/6.353, allocations: 0 / 2.913 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/6.353, allocations: 0 / 2.913 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/6.353, allocations: 322.8 kB / 2.914 GB, free: 29.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/6.353, allocations: 11.94 kB / 2.914 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/6.353, allocations: 54.88 kB / 2.914 GB, free: 29.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/6.353, allocations: 8 kB / 2.914 GB, free: 29.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/6.353, allocations: 0 / 2.914 GB, free: 29.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001422/6.353, allocations: 85.45 kB / 2.914 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/6.353, allocations: 4 kB / 2.914 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/6.353, allocations: 4 kB / 2.914 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/6.353, allocations: 224 / 2.914 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/6.353, allocations: 19.94 kB / 2.914 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/6.353, allocations: 8.094 kB / 2.914 GB, free: 29.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/6.353, allocations: 7.938 kB / 2.914 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/6.353, allocations: 4.25 kB / 2.914 GB, free: 29.12 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 7.765e-05/6.353, allocations: 188.2 kB / 2.914 GB, free: 28.93 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.319e-05/6.353, allocations: 150.4 kB / 2.914 GB, free: 28.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/6.353, allocations: 108.9 kB / 2.914 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/6.354, allocations: 122.1 kB / 2.914 GB, free: 28.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/6.354, allocations: 176.3 kB / 2.915 GB, free: 28.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.944e-05/6.354, allocations: 184.3 kB / 2.915 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/6.354, allocations: 180.2 kB / 2.915 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/6.354, allocations: 441.7 kB / 2.915 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/6.354, allocations: 105 kB / 2.915 GB, free: 27.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/6.354, allocations: 104.9 kB / 2.916 GB, free: 27.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.099e-05/6.354, allocations: 176.3 kB / 2.916 GB, free: 27.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/6.354, allocations: 184.3 kB / 2.916 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.194e-05/6.354, allocations: 184.2 kB / 2.916 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.591e-05/6.354, allocations: 176.3 kB / 2.916 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.72e-05/6.354, allocations: 323.6 kB / 2.917 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/6.354, allocations: 190.9 kB / 2.917 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/6.354, allocations: 180.3 kB / 2.917 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/6.354, allocations: 112.8 kB / 2.917 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/6.354, allocations: 180.3 kB / 2.917 GB, free: 25.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/6.354, allocations: 101 kB / 2.917 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.737e-05/6.354, allocations: 111.3 kB / 2.917 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/6.354, allocations: 3.938 kB / 2.917 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003537/6.355, allocations: 75.73 kB / 2.917 GB, free: 25.22 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.0008923/6.356, allocations: 1.375 MB / 2.919 GB, free: 23.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/6.356, allocations: 20.12 kB / 2.919 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/6.356, allocations: 0 / 2.919 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/6.356, allocations: 4 kB / 2.919 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/6.356, allocations: 0.5281 MB / 2.919 GB, free: 23.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/6.357, allocations: 335.7 kB / 2.92 GB, free: 22.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/6.357, allocations: 0.7527 MB / 2.92 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.483e-05/6.357, allocations: 12.44 kB / 2.92 GB, free: 22.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/6.357, allocations: 55.41 kB / 2.92 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/6.357, allocations: 3.938 kB / 2.92 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/6.382, allocations: 6.449 MB / 2.927 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/6.382, allocations: 138.6 kB / 2.927 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/8.522, allocations: 0 / 2.927 GB, free: 15.41 MB / 0.6823 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/linux/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)