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.001268/0.001268, allocations: 120 kB / 17.17 MB, free: 5.977 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.001387/0.001387, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.472/1.472, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002324/0.002324, allocations: 280.8 kB / 309.8 MB, free: 3.48 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.065/1.065, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="cs",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.003116/0.003116, allocations: 97.56 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4936, allocations: 95.35 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2285/0.7221, allocations: 177.5 MB / 1.001 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.733, allocations: 9.585 MB / 1.011 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.7334, allocations: 15.94 kB / 1.011 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006402/0.734, allocations: 194.7 kB / 1.011 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.7343, allocations: 91.31 kB / 1.011 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.7345, allocations: 63.92 kB / 1.011 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.7349, allocations: 338.5 kB / 1.011 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.7352, allocations: 152.9 kB / 1.011 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.7356, allocations: 171.4 kB / 1.012 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.7358, allocations: 127.4 kB / 1.012 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.7358, allocations: 20 kB / 1.012 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.7358, allocations: 24 kB / 1.012 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.96e-05/0.7359, allocations: 83.73 kB / 1.012 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.7361, allocations: 123.4 kB / 1.012 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.7364, allocations: 286.7 kB / 1.012 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7364, allocations: 7.938 kB / 1.012 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7364, allocations: 0 / 1.012 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.7364, allocations: 0 / 1.012 GB, free: 12.7 MB / 0.7481 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.00063/0.7371, allocations: 0.5182 MB / 1.013 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.7371, allocations: 8.031 kB / 1.013 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.969e-05/0.7371, allocations: 8.562 kB / 1.013 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/0.7372, allocations: 66.55 kB / 1.013 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.7373, allocations: 35.75 kB / 1.013 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.7377, allocations: 282.3 kB / 1.013 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.7377, allocations: 20.5 kB / 1.013 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.7378, allocations: 24 kB / 1.013 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.7382, allocations: 323.9 kB / 1.013 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.7383, allocations: 8 kB / 1.013 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.7383, allocations: 11.98 kB / 1.013 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.7383, allocations: 11.94 kB / 1.013 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.7385, allocations: 143.7 kB / 1.014 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.74, allocations: 1.824 MB / 1.015 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.7402, allocations: 169.1 kB / 1.016 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.7402, allocations: 80.14 kB / 1.016 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.7402, allocations: 75.28 kB / 1.016 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.7403, allocations: 109.8 kB / 1.016 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.7403, allocations: 0 / 1.016 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001006/0.7404, allocations: 57.5 kB / 1.016 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.7405, allocations: 126.7 kB / 1.016 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.7409, allocations: 377.6 kB / 1.016 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.741, allocations: 25.7 kB / 1.016 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.7411, allocations: 163.9 kB / 1.016 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.7411, allocations: 0 / 1.016 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.7411, allocations: 25.67 kB / 1.017 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.7413, allocations: 338.8 kB / 1.017 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.7413, allocations: 7.938 kB / 1.017 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.7413, allocations: 36.28 kB / 1.017 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.25e-05/0.7414, allocations: 44.23 kB / 1.017 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7414, allocations: 0 / 1.017 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001588/0.7416, allocations: 93.36 kB / 1.017 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7416, allocations: 8 kB / 1.017 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7416, allocations: 112 / 1.017 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.7416, allocations: 8.094 kB / 1.017 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.7417, allocations: 15.92 kB / 1.017 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7417, allocations: 4 kB / 1.017 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.7418, allocations: 23.73 kB / 1.017 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.7418, allocations: 4 kB / 1.017 GB, free: 7.328 MB / 0.7481 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.0001562/0.7419, allocations: 220.5 kB / 1.017 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/0.742, allocations: 128.8 kB / 1.017 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-05/0.7421, allocations: 130.9 kB / 1.018 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.698e-05/0.7422, allocations: 184.3 kB / 1.018 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.517e-05/0.7422, allocations: 180.2 kB / 1.018 GB, free: 6.461 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-05/0.7423, allocations: 180.2 kB / 1.018 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.7427, allocations: 497.2 kB / 1.019 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.733e-05/0.7427, allocations: 109.1 kB / 1.019 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.7428, allocations: 113 kB / 1.019 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.646e-05/0.7429, allocations: 180.2 kB / 1.019 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.743, allocations: 180.3 kB / 1.019 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-05/0.7431, allocations: 180.2 kB / 1.019 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001334/0.7432, allocations: 180.2 kB / 1.019 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.7434, allocations: 339.5 kB / 1.02 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.7435, allocations: 205.9 kB / 1.02 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.7436, allocations: 180.2 kB / 1.02 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.7438, allocations: 108.9 kB / 1.02 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.7438, allocations: 176.3 kB / 1.02 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.7439, allocations: 112.9 kB / 1.02 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002895/0.7442, allocations: 267.2 kB / 1.021 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7442, allocations: 0 / 1.021 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002815/0.7445, allocations: 35.89 kB / 1.021 GB, free: 3.301 MB / 0.7481 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.0004667/0.7449, allocations: 0.832 MB / 1.022 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.745, allocations: 19.94 kB / 1.022 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.745, allocations: 0 / 1.022 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.745, allocations: 4 kB / 1.022 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.7459, allocations: 0.5596 MB / 1.022 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.7491, allocations: 2.691 MB / 1.025 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.7496, allocations: 0.7558 MB / 1.026 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.7497, allocations: 30.97 kB / 1.026 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.7499, allocations: 71.42 kB / 1.026 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of SimCode: time 7.71e-07/0.7499, allocations: 3.938 kB / 1.026 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.7739, allocations: 5.997 MB / 1.031 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/9.282, allocations: 15.91 kB / 1.032 GB, free: 8.387 MB / 0.7637 GB " [Timeout remaining time 651] (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: 13.17828781803837] Failed to read output from testmodel.py, exit status != 0: 9.412910929997452 9.43594065 8.695082403 Calling exit ...