Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.002081/0.002081, allocations: 180.9 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 1.268/1.268, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.335/2.335, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001612/0.001611, allocations: 101.9 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.284e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8239/0.8239, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.397/10.22, allocations: 2.129 GB / 2.763 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/10.22, allocations: 84.89 kB / 2.763 GB, free: 188.1 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 (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$conAir$inlet$forward 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$conAirRevFlo$bacPro_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-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 (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$conAirRevFlo$inlet$backward 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/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 (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/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 (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$backward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.4018/10.62, allocations: 136.1 MB / 2.896 GB, free: 50.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.517e-06/10.62, allocations: 0 / 2.896 GB, free: 50.49 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.78e-05/10.62, allocations: 4 kB / 2.896 GB, free: 50.49 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006281/10.62, allocations: 414.7 kB / 2.897 GB, free: 50.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.33e-05/10.62, allocations: 12.25 kB / 2.897 GB, free: 50.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/10.62, allocations: 23.77 kB / 2.897 GB, free: 50 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/10.62, allocations: 251.1 kB / 2.897 GB, free: 49.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/10.62, allocations: 4 kB / 2.897 GB, free: 49.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/10.62, allocations: 8 kB / 2.897 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000157/10.62, allocations: 51.69 kB / 2.897 GB, free: 49.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/10.63, allocations: 204 kB / 2.897 GB, free: 49.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/10.63, allocations: 7.938 kB / 2.897 GB, free: 49.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/10.63, allocations: 0 / 2.897 GB, free: 49.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/10.63, allocations: 11.95 kB / 2.897 GB, free: 49.38 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/10.63, allocations: 1.525 MB / 2.899 GB, free: 47.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/10.63, allocations: 169.1 kB / 2.899 GB, free: 47.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/10.63, allocations: 84.08 kB / 2.899 GB, free: 47.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/10.63, allocations: 79.28 kB / 2.899 GB, free: 47.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/10.63, allocations: 109.8 kB / 2.899 GB, free: 47.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/10.63, allocations: 0 / 2.899 GB, free: 47.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001316/10.63, allocations: 42.39 kB / 2.899 GB, free: 47.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/10.63, allocations: 51.41 kB / 2.899 GB, free: 47.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/10.63, allocations: 136.6 kB / 2.899 GB, free: 47.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/10.63, allocations: 25.7 kB / 2.899 GB, free: 47.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/10.63, allocations: 155.3 kB / 2.899 GB, free: 46.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/10.63, allocations: 8 kB / 2.899 GB, free: 46.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/10.63, allocations: 0 / 2.899 GB, free: 46.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001194/10.63, allocations: 322.8 kB / 2.9 GB, free: 46.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/10.63, allocations: 3.938 kB / 2.9 GB, free: 46.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.666e-05/10.63, allocations: 46.02 kB / 2.9 GB, free: 46.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/10.63, allocations: 11.98 kB / 2.9 GB, free: 46.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/10.63, allocations: 7.953 kB / 2.9 GB, free: 46.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002051/10.63, allocations: 69.47 kB / 2.9 GB, free: 46.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/10.63, allocations: 4.219 kB / 2.9 GB, free: 46.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/10.63, allocations: 8 kB / 2.9 GB, free: 46.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/10.63, allocations: 4 kB / 2.9 GB, free: 46.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/10.63, allocations: 8 kB / 2.9 GB, free: 46.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/10.63, allocations: 11.92 kB / 2.9 GB, free: 46.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/10.63, allocations: 3.938 kB / 2.9 GB, free: 46.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/10.63, allocations: 4 kB / 2.9 GB, free: 46.33 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.00011/10.63, allocations: 186 kB / 2.9 GB, free: 46.14 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001/10.63, allocations: 146.5 kB / 2.9 GB, free: 45.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/10.63, allocations: 120.8 kB / 2.9 GB, free: 45.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/10.63, allocations: 113.9 kB / 2.9 GB, free: 45.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-05/10.63, allocations: 188.2 kB / 2.901 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.307e-05/10.63, allocations: 176.3 kB / 2.901 GB, free: 45.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-05/10.63, allocations: 176.3 kB / 2.901 GB, free: 45.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/10.63, allocations: 437.6 kB / 2.901 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.424e-05/10.63, allocations: 101 kB / 2.902 GB, free: 44.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/10.63, allocations: 101 kB / 2.902 GB, free: 44.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-05/10.63, allocations: 184.2 kB / 2.902 GB, free: 44.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/10.63, allocations: 176.3 kB / 2.902 GB, free: 44.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.945e-05/10.63, allocations: 184.2 kB / 2.902 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.128e-05/10.63, allocations: 184.2 kB / 2.902 GB, free: 43.76 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/10.63, allocations: 311.6 kB / 2.903 GB, free: 43.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/10.63, allocations: 194.8 kB / 2.903 GB, free: 43.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/10.63, allocations: 184.2 kB / 2.903 GB, free: 43.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/10.63, allocations: 105 kB / 2.903 GB, free: 42.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/10.63, allocations: 188.1 kB / 2.903 GB, free: 42.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/10.63, allocations: 101 kB / 2.903 GB, free: 42.62 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.266e-05/10.63, allocations: 116.9 kB / 2.903 GB, free: 42.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/10.63, allocations: 0 / 2.903 GB, free: 42.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005994/10.63, allocations: 59.83 kB / 2.904 GB, free: 42.45 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.00138/10.63, allocations: 1.387 MB / 2.905 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001067/10.63, allocations: 15.94 kB / 2.905 GB, free: 41.03 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/10.63, allocations: 0 / 2.905 GB, free: 41.03 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/10.63, allocations: 0 / 2.905 GB, free: 41.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/10.63, allocations: 0.5268 MB / 2.905 GB, free: 40.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/10.63, allocations: 257.7 kB / 2.906 GB, free: 40.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/10.63, allocations: 0.7235 MB / 2.906 GB, free: 39.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.513e-05/10.63, allocations: 8.422 kB / 2.906 GB, free: 39.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/10.63, allocations: 35.42 kB / 2.906 GB, free: 39.42 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/10.63, allocations: 0 / 2.906 GB, free: 39.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/10.67, allocations: 6.227 MB / 2.912 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/10.67, allocations: 134.6 kB / 2.913 GB, free: 33.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/13.09, allocations: 0 / 2.913 GB, free: 33.01 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)