Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.001433/0.001433, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001774/0.001774, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.029/1.029, allocations: 150 MB / 459.5 MB, free: 5.277 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001955/0.001955, allocations: 61.98 kB / 0.6361 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2126, allocations: 89.14 MB / 0.7232 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8016/1.014, allocations: 253.2 MB / 0.9705 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02791/1.042, allocations: 22.44 MB / 0.9924 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/1.045, allocations: 75.19 kB / 0.9925 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/1.048, allocations: 0.9925 MB / 0.9934 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007229/1.055, allocations: 1.526 MB / 0.9949 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008726/1.064, allocations: 1.955 MB / 0.9968 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005914/1.07, allocations: 2.672 MB / 0.9994 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/1.073, allocations: 1.035 MB / 1 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005255/1.078, allocations: 1.6 MB / 1.002 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/1.08, allocations: 0.9611 MB / 1.003 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004719/1.081, allocations: 108 kB / 1.003 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004759/1.085, allocations: 1.808 MB / 1.005 GB, free: 280 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008095/1.086, allocations: 386.8 kB / 1.005 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001822/1.088, allocations: 0.6337 MB / 1.006 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006477/1.094, allocations: 2.371 MB / 1.008 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.094, allocations: 0 / 1.008 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/1.094, allocations: 4 kB / 1.008 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.102e-05/1.094, allocations: 4 kB / 1.008 GB, free: 12.87 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00501/1.099, allocations: 1.515 MB / 1.01 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/1.1, allocations: 8.031 kB / 1.01 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004241/1.1, allocations: 147.5 kB / 1.01 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/1.102, allocations: 239 kB / 1.01 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/1.104, allocations: 0.9319 MB / 1.011 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/1.104, allocations: 192.7 kB / 1.011 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/1.104, allocations: 88 kB / 1.011 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/1.107, allocations: 0.9363 MB / 1.012 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/1.107, allocations: 3.938 kB / 1.012 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/1.107, allocations: 36 kB / 1.012 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/1.107, allocations: 24 kB / 1.012 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/1.108, allocations: 0.6246 MB / 1.013 GB, free: 7.973 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00651/1.115, allocations: 4.439 MB / 1.017 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/1.115, allocations: 174.7 kB / 1.017 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/1.115, allocations: 144.9 kB / 1.017 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.117, allocations: 1.021 MB / 1.018 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.117, allocations: 42.55 kB / 1.018 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 2.204e-06/1.117, allocations: 3.938 kB / 1.018 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001349/1.118, allocations: 471.9 kB / 1.019 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.118, allocations: 51.41 kB / 1.019 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/1.12, allocations: 1.122 MB / 1.02 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/1.12, allocations: 29.7 kB / 1.02 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/1.12, allocations: 0.5205 MB / 1.021 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/1.121, allocations: 91.17 kB / 1.021 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/1.121, allocations: 106 kB / 1.021 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.121, allocations: 318 kB / 1.021 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/1.121, allocations: 132.7 kB / 1.021 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/1.122, allocations: 384.8 kB / 1.022 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/1.122, allocations: 475.5 kB / 1.022 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/1.122, allocations: 7.938 kB / 1.022 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001105/1.124, allocations: 0.5435 MB / 1.023 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.124, allocations: 8 kB / 1.023 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.124, allocations: 4 kB / 1.023 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.124, allocations: 12 kB / 1.023 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/1.124, allocations: 83.84 kB / 1.023 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/1.124, allocations: 11.98 kB / 1.023 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008077/1.125, allocations: 104.5 kB / 1.023 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/1.125, allocations: 31.94 kB / 1.023 GB, free: 12.81 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0004755/1.125, allocations: 285.6 kB / 1.023 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/1.126, allocations: 111.3 kB / 1.023 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008735/1.126, allocations: 426.3 kB / 1.024 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.126, allocations: 8 kB / 1.024 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/1.126, allocations: 3.984 kB / 1.024 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.126, allocations: 0 / 1.024 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/1.129, allocations: 1.566 MB / 1.025 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.129, allocations: 4 kB / 1.025 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/1.129, allocations: 39.92 kB / 1.025 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.13, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.13, allocations: 12 kB / 1.025 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/1.13, allocations: 7.938 kB / 1.025 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.13, allocations: 4 kB / 1.025 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/1.13, allocations: 0.5899 MB / 1.026 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/1.131, allocations: 244.3 kB / 1.026 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/1.131, allocations: 11.98 kB / 1.026 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/1.132, allocations: 15.98 kB / 1.026 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/1.132, allocations: 27.86 kB / 1.026 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/1.132, allocations: 16 kB / 1.026 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001379/1.133, allocations: 0.7865 MB / 1.027 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.133, allocations: 0 / 1.027 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001204/1.134, allocations: 287.4 kB / 1.027 GB, free: 8.164 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001665/1.136, allocations: 1.319 MB / 1.028 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007302/1.137, allocations: 339.6 kB / 1.029 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.137, allocations: 0 / 1.029 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/1.137, allocations: 137.2 kB / 1.029 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.14, allocations: 0.5122 MB / 1.029 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.153, allocations: 7.477 MB / 1.037 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.154, allocations: 1.067 MB / 1.038 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009767/1.155, allocations: 197.3 kB / 1.038 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006749/1.156, allocations: 367.3 kB / 1.038 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of SimCode: time 1.332e-06/1.156, allocations: 0 / 1.038 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0823/1.238, allocations: 28.17 MB / 1.066 GB, free: 436 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.59, allocations: 3.984 kB / 1.066 GB, free: 432 kB / 0.7637 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.811222964897752] Failed to read output from testmodel.py, exit status != 0: 11.673676351783797 11.688735324 10.591059035 Calling exit ...