Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 214 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002565/0.002565, allocations: 302 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002943/0.002943, allocations: 110.1 kB / 0.7395 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.187, allocations: 95.39 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.633/0.8199, allocations: 153.7 MB / 0.9828 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009133/0.829, allocations: 8.646 MB / 0.9912 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.8294, allocations: 13.09 kB / 0.9912 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.83, allocations: 196.4 kB / 0.9914 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.8303, allocations: 99.38 kB / 0.9915 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.8305, allocations: 69.2 kB / 0.9916 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.8308, allocations: 331.4 kB / 0.9919 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.8311, allocations: 124.8 kB / 0.992 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.8314, allocations: 176.2 kB / 0.9922 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.8315, allocations: 111.7 kB / 0.9923 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.8316, allocations: 25.22 kB / 0.9923 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.8316, allocations: 20.16 kB / 0.9923 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.694e-05/0.8317, allocations: 76.62 kB / 0.9924 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.8318, allocations: 99.64 kB / 0.9925 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.8321, allocations: 304.5 kB / 0.9928 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8321, allocations: 0.8438 kB / 0.9928 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8321, allocations: 0 / 0.9928 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.8321, allocations: 0.9062 kB / 0.9928 GB, free: 3.59 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006936/0.8328, allocations: 456.6 kB / 0.9932 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.8328, allocations: 11.8 kB / 0.9932 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.8329, allocations: 62.69 kB / 0.9933 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.833, allocations: 34.22 kB / 0.9933 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.8334, allocations: 213.9 kB / 0.9935 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.8334, allocations: 20.64 kB / 0.9936 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.8334, allocations: 25 kB / 0.9936 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.8338, allocations: 326.8 kB / 0.9939 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.8338, allocations: 3.906 kB / 0.9939 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.8339, allocations: 10.5 kB / 0.9939 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.8339, allocations: 9.703 kB / 0.9939 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.8341, allocations: 141 kB / 0.994 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.8354, allocations: 1.738 MB / 0.9957 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.8355, allocations: 168.8 kB / 0.9959 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.8355, allocations: 85.58 kB / 0.996 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.8356, allocations: 75.28 kB / 0.9961 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.8356, allocations: 112.3 kB / 0.9962 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.8356, allocations: 0.9375 kB / 0.9962 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.352e-05/0.8357, allocations: 59.38 kB / 0.9962 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.8358, allocations: 128.2 kB / 0.9963 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.8362, allocations: 372.6 kB / 0.9967 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.8362, allocations: 31.12 kB / 0.9967 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.8363, allocations: 168.3 kB / 0.9969 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.8363, allocations: 0.6094 kB / 0.9969 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.8363, allocations: 20.8 kB / 0.9969 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8365, allocations: 340.2 kB / 0.9972 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.8365, allocations: 7.25 kB / 0.9972 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.8365, allocations: 34.86 kB / 0.9973 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.8366, allocations: 43.23 kB / 0.9973 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8366, allocations: 2.969 kB / 0.9973 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001462/0.8367, allocations: 93.95 kB / 0.9974 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8368, allocations: 9.219 kB / 0.9974 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8368, allocations: 3.5 kB / 0.9974 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.8368, allocations: 5.656 kB / 0.9974 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.8368, allocations: 9.391 kB / 0.9974 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.8368, allocations: 3 kB / 0.9974 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.8369, allocations: 31.17 kB / 0.9975 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.8369, allocations: 2.625 kB / 0.9975 GB, free: 16.11 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.000154/0.8371, allocations: 221.2 kB / 0.9977 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.8372, allocations: 135.4 kB / 0.9978 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.785e-05/0.8372, allocations: 135.2 kB / 0.9979 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.163e-05/0.8373, allocations: 177.6 kB / 0.9981 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.544e-05/0.8374, allocations: 186.6 kB / 0.9983 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.27e-05/0.8375, allocations: 177.4 kB / 0.9985 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.8378, allocations: 449.1 kB / 0.9989 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.115e-05/0.8379, allocations: 105.1 kB / 0.999 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.8379, allocations: 105.5 kB / 0.9991 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-05/0.838, allocations: 187.1 kB / 0.9993 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.959e-05/0.8381, allocations: 181.7 kB / 0.9994 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-05/0.8381, allocations: 179.7 kB / 0.9996 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.858e-05/0.8382, allocations: 181.4 kB / 0.9998 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.8384, allocations: 330.9 kB / 1 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.8385, allocations: 132.7 kB / 1 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.8386, allocations: 186.7 kB / 1 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.8387, allocations: 109.8 kB / 1.001 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.8388, allocations: 181 kB / 1.001 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.8388, allocations: 104.9 kB / 1.001 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002585/0.8391, allocations: 269.5 kB / 1.001 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8391, allocations: 0 / 1.001 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002606/0.8394, allocations: 26.75 kB / 1.001 GB, free: 12.7 MB / 0.7325 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.0004805/0.8398, allocations: 0.84 MB / 1.002 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.8399, allocations: 18.19 kB / 1.002 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.8399, allocations: 0 / 1.002 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.8399, allocations: 0 / 1.002 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/0.8408, allocations: 0.5503 MB / 1.002 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.8441, allocations: 2.691 MB / 1.005 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.8443, allocations: 143.6 kB / 1.005 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.8444, allocations: 35.67 kB / 1.005 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.8445, allocations: 73.53 kB / 1.005 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8445, allocations: 4.219 kB / 1.005 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.8806, allocations: 6.892 MB / 1.012 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.85, allocations: 13.06 kB / 1.012 GB, free: 8.715 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.944745556917042] Failed to read output from testmodel.py, exit status != 0: 11.964289675001055 11.983500739 11.147317736 Calling exit ...