Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001234/0.001234, allocations: 106 kB / 16.46 MB, free: 6.512 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.001372/0.001372, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002552/0.002552, allocations: 296.7 kB / 309.1 MB, free: 3.961 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.24/1.24, allocations: 180.9 MB / 0.5333 GB, free: 13.77 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",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.002705/0.002705, allocations: 106.8 kB / 0.7342 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1619, allocations: 95.34 MB / 0.8274 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6036/0.7655, allocations: 173.8 MB / 0.9971 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005776/0.7713, allocations: 6.061 MB / 1.003 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.7716, allocations: 11.22 kB / 1.003 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.7721, allocations: 192.4 kB / 1.003 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.7723, allocations: 92.61 kB / 1.003 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.7734, allocations: 0.5277 MB / 1.004 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000484/0.7739, allocations: 418.9 kB / 1.004 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.7742, allocations: 100.4 kB / 1.004 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.7745, allocations: 201.3 kB / 1.005 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.7747, allocations: 153.6 kB / 1.005 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.7747, allocations: 16.84 kB / 1.005 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008425/0.7756, allocations: 0.4946 MB / 1.005 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.956e-05/0.7757, allocations: 70.14 kB / 1.005 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.7758, allocations: 107.1 kB / 1.005 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.7765, allocations: 477.5 kB / 1.006 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7765, allocations: 1.438 kB / 1.006 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7765, allocations: 0 / 1.006 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.7765, allocations: 0.5625 kB / 1.006 GB, free: 3.027 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007894/0.7773, allocations: 0.5296 MB / 1.006 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7773, allocations: 10.7 kB / 1.006 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.7774, allocations: 63.66 kB / 1.006 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/0.7777, allocations: 47.48 kB / 1.006 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.7781, allocations: 266 kB / 1.007 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.7783, allocations: 131.3 kB / 1.007 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.7783, allocations: 21.88 kB / 1.007 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.7788, allocations: 292.9 kB / 1.007 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.7788, allocations: 8.234 kB / 1.007 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.7788, allocations: 11.22 kB / 1.007 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.7788, allocations: 6.875 kB / 1.007 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.7791, allocations: 159.7 kB / 1.007 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.7804, allocations: 1.585 MB / 1.009 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.7805, allocations: 170.3 kB / 1.009 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.7805, allocations: 80.14 kB / 1.009 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.7806, allocations: 75.97 kB / 1.009 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/0.7806, allocations: 115.2 kB / 1.009 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.7806, allocations: 1.094 kB / 1.009 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.465e-05/0.7807, allocations: 50.42 kB / 1.009 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.7808, allocations: 127.7 kB / 1.009 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.7812, allocations: 312.4 kB / 1.01 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.7812, allocations: 29.69 kB / 1.01 GB, free: 16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.7813, allocations: 190.8 kB / 1.01 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.7813, allocations: 8.219 kB / 1.01 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.7814, allocations: 42.34 kB / 1.01 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7815, allocations: 331.6 kB / 1.01 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.918e-05/0.7816, allocations: 40.06 kB / 1.01 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.7817, allocations: 162.1 kB / 1.01 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.782, allocations: 199.5 kB / 1.011 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.782, allocations: 1.312 kB / 1.011 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003996/0.7824, allocations: 212.7 kB / 1.011 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7824, allocations: 7.125 kB / 1.011 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7824, allocations: 7.375 kB / 1.011 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.7824, allocations: 10.53 kB / 1.011 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.7826, allocations: 39.52 kB / 1.011 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.7826, allocations: 12.53 kB / 1.011 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.7828, allocations: 34.08 kB / 1.011 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.7828, allocations: 10.69 kB / 1.011 GB, free: 15.16 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001489/0.7829, allocations: 221.8 kB / 1.011 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.783, allocations: 125 kB / 1.011 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.7831, allocations: 127 kB / 1.011 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.232e-05/0.7832, allocations: 181.3 kB / 1.012 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.298e-05/0.7833, allocations: 178.5 kB / 1.012 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-05/0.7833, allocations: 184.9 kB / 1.012 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.7837, allocations: 478.5 kB / 1.012 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.928e-05/0.7837, allocations: 113.3 kB / 1.013 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.7838, allocations: 103.9 kB / 1.013 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.229e-05/0.7839, allocations: 182.6 kB / 1.013 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.671e-05/0.784, allocations: 183.7 kB / 1.013 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.792e-05/0.784, allocations: 185.2 kB / 1.013 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.298e-05/0.7841, allocations: 179.2 kB / 1.013 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.7843, allocations: 328.9 kB / 1.014 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.7844, allocations: 209.2 kB / 1.014 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.7846, allocations: 184.7 kB / 1.014 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.7847, allocations: 106.6 kB / 1.014 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.7848, allocations: 184.4 kB / 1.014 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.7848, allocations: 108.5 kB / 1.014 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002465/0.7851, allocations: 218.5 kB / 1.015 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7851, allocations: 1.203 kB / 1.015 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003862/0.7855, allocations: 52.69 kB / 1.015 GB, free: 11.63 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.0005732/0.7861, allocations: 0.8492 MB / 1.015 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.7863, allocations: 86.42 kB / 1.016 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7863, allocations: 2.062 kB / 1.016 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.7863, allocations: 0 / 1.016 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.7868, allocations: 485.8 kB / 1.016 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.7895, allocations: 2.509 MB / 1.018 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.7899, allocations: 0.7369 MB / 1.019 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.79, allocations: 35.12 kB / 1.019 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.479e-05/0.7901, allocations: 55.02 kB / 1.019 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.7901, allocations: 0 / 1.019 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.8167, allocations: 4.063 MB / 1.023 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.737, allocations: 1.531 kB / 1.023 GB, free: 7.5 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet_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_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.949363003019243] Failed to read output from testmodel.py, exit status != 0: 8.80836675176397 8.827557676 8.047113691 Calling exit ...