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.001316/0.001316, 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.001538/0.001538, allocations: 213 kB / 22.25 MB, free: 4.855 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.812 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.002494/0.002494, allocations: 292.3 kB / 312.7 MB, free: 2.621 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.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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.002912/0.002912, allocations: 94.25 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1802, allocations: 95.38 MB / 0.8327 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6567/0.8369, allocations: 153.7 MB / 0.9828 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009406/0.8463, allocations: 8.655 MB / 0.9912 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004514/0.8468, allocations: 8.875 kB / 0.9912 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.8475, allocations: 199.4 kB / 0.9914 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.8478, allocations: 96.42 kB / 0.9915 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.848, allocations: 64.67 kB / 0.9916 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.8485, allocations: 330.9 kB / 0.9919 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.8488, allocations: 135 kB / 0.992 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.8491, allocations: 167.8 kB / 0.9922 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.8492, allocations: 110.5 kB / 0.9923 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.8493, allocations: 22.44 kB / 0.9923 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.8493, allocations: 25.84 kB / 0.9923 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.12e-05/0.8494, allocations: 78.84 kB / 0.9924 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.8495, allocations: 106.3 kB / 0.9925 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.8498, allocations: 300.4 kB / 0.9928 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8499, allocations: 0.9688 kB / 0.9928 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8499, allocations: 0 / 0.9928 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.8499, allocations: 1 kB / 0.9928 GB, free: 3.578 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.0006848/0.8506, allocations: 457.6 kB / 0.9932 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.8506, allocations: 12.89 kB / 0.9932 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.8507, allocations: 59.97 kB / 0.9933 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.8507, allocations: 35.22 kB / 0.9933 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.8511, allocations: 214.8 kB / 0.9935 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.8512, allocations: 18.81 kB / 0.9935 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.8512, allocations: 29.58 kB / 0.9936 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.8516, allocations: 323 kB / 0.9939 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.8516, allocations: 1.031 kB / 0.9939 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.8517, allocations: 9.281 kB / 0.9939 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.8517, allocations: 11.41 kB / 0.9939 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.8519, allocations: 141.1 kB / 0.994 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.8533, allocations: 1.739 MB / 0.9957 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.8534, allocations: 165.8 kB / 0.9959 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.8534, allocations: 80.84 kB / 0.996 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.8535, allocations: 79.16 kB / 0.996 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/0.8535, allocations: 110.9 kB / 0.9962 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.8535, allocations: 4.859 kB / 0.9962 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.754e-05/0.8536, allocations: 60.52 kB / 0.9962 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.8537, allocations: 127.4 kB / 0.9963 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.8541, allocations: 376.2 kB / 0.9967 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.8541, allocations: 25.7 kB / 0.9967 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.8542, allocations: 169.2 kB / 0.9969 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.8542, allocations: 0.8125 kB / 0.9969 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.8542, allocations: 19.61 kB / 0.9969 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8544, allocations: 339.2 kB / 0.9972 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.8544, allocations: 7.562 kB / 0.9972 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.8544, allocations: 43.28 kB / 0.9973 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.8545, allocations: 42.45 kB / 0.9973 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.8545, allocations: 0 / 0.9973 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001416/0.8546, allocations: 88.5 kB / 0.9974 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8546, allocations: 12.12 kB / 0.9974 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8546, allocations: 1.766 kB / 0.9974 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.8546, allocations: 2.75 kB / 0.9974 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.8547, allocations: 13 kB / 0.9974 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.8547, allocations: 3.75 kB / 0.9974 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.8548, allocations: 32.52 kB / 0.9975 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.8548, allocations: 2.922 kB / 0.9975 GB, free: 16.1 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.0001473/0.8549, allocations: 212 kB / 0.9977 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.855, allocations: 139.1 kB / 0.9978 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.8551, allocations: 136.8 kB / 0.9979 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.888e-05/0.8552, allocations: 180.8 kB / 0.9981 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.269e-05/0.8552, allocations: 180.5 kB / 0.9983 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-05/0.8553, allocations: 184.4 kB / 0.9984 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.8556, allocations: 445 kB / 0.9989 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-05/0.8557, allocations: 108 kB / 0.999 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.8557, allocations: 102.8 kB / 0.9991 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.752e-05/0.8558, allocations: 186.5 kB / 0.9993 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/0.8559, allocations: 183.1 kB / 0.9994 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.996e-05/0.856, allocations: 182.6 kB / 0.9996 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.542e-05/0.8561, allocations: 177.5 kB / 0.9998 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.8562, allocations: 332.9 kB / 1 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.8563, allocations: 135.5 kB / 1 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.8564, allocations: 185.1 kB / 1 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.8565, allocations: 105.5 kB / 1 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.8566, allocations: 179.5 kB / 1.001 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.8567, allocations: 106.2 kB / 1.001 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002466/0.8569, allocations: 273.1 kB / 1.001 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8569, allocations: 1.203 kB / 1.001 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002432/0.8572, allocations: 27.34 kB / 1.001 GB, free: 12.69 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.0004505/0.8576, allocations: 0.8407 MB / 1.002 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.8577, allocations: 16.89 kB / 1.002 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8577, allocations: 0 / 1.002 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.8577, allocations: 1.625 kB / 1.002 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.8585, allocations: 0.5546 MB / 1.002 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.8615, allocations: 2.686 MB / 1.005 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.8616, allocations: 148.7 kB / 1.005 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.8617, allocations: 34.39 kB / 1.005 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/0.8618, allocations: 72.44 kB / 1.005 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.8618, allocations: 2.016 kB / 1.005 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.8969, allocations: 6.897 MB / 1.012 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.88, allocations: 8.5 kB / 1.012 GB, free: 8.711 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 16.179033802822232] Failed to read output from testmodel.py, exit status != 0: 11.995890686754137 12.017213098 11.163177337 Calling exit ...