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.001817/0.001817, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.002294/0.002294, allocations: 220.4 kB / 23.01 MB, free: 4.926 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.004/1.004, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 178] 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.002039/0.002039, allocations: 61.94 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2155, allocations: 89.18 MB / 0.7284 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8145/1.03, allocations: 254.2 MB / 0.9766 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03277/1.063, allocations: 22.63 MB / 0.9987 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/1.065, allocations: 75.38 kB / 0.9987 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003589/1.069, allocations: 1.001 MB / 0.9997 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005531/1.074, allocations: 1.536 MB / 1.001 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006006/1.08, allocations: 2.031 MB / 1.003 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004847/1.085, allocations: 2.686 MB / 1.006 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/1.087, allocations: 0.9852 MB / 1.007 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004225/1.091, allocations: 1.623 MB / 1.008 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/1.094, allocations: 0.9494 MB / 1.009 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002896/1.094, allocations: 108 kB / 1.009 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004565/1.099, allocations: 1.839 MB / 1.011 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005956/1.099, allocations: 394.7 kB / 1.012 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/1.1, allocations: 0.6415 MB / 1.012 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005379/1.106, allocations: 2.371 MB / 1.015 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/1.106, allocations: 0 / 1.015 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.883e-06/1.106, allocations: 0 / 1.015 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.227e-05/1.106, allocations: 0 / 1.015 GB, free: 1.91 MB / 0.7794 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.002657/1.108, allocations: 1.438 MB / 1.016 GB, free: 444 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.109, allocations: 11.97 kB / 1.016 GB, free: 432 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/1.109, allocations: 147.5 kB / 1.016 GB, free: 276 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.11, allocations: 239 kB / 1.016 GB, free: 36 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/1.112, allocations: 0.8489 MB / 1.017 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/1.112, allocations: 295.5 kB / 1.017 GB, free: 14.82 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.112, allocations: 92 kB / 1.017 GB, free: 14.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/1.114, allocations: 0.9285 MB / 1.018 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/1.114, allocations: 3.938 kB / 1.018 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.167e-05/1.114, allocations: 36 kB / 1.018 GB, free: 13.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/1.114, allocations: 24 kB / 1.018 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.115, allocations: 0.6324 MB / 1.019 GB, free: 13.07 MB / 0.795 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.005271/1.12, allocations: 4.369 MB / 1.023 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/1.121, allocations: 178.8 kB / 1.024 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/1.121, allocations: 136.8 kB / 1.024 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/1.121, allocations: 135.8 kB / 1.024 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/1.121, allocations: 34.56 kB / 1.024 GB, free: 7.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=24): time 2.765e-06/1.121, allocations: 0 / 1.024 GB, free: 7.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=24): time 0.001235/1.123, allocations: 475.7 kB / 1.024 GB, free: 7.355 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/1.123, allocations: 59.41 kB / 1.024 GB, free: 7.285 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/1.124, allocations: 1.115 MB / 1.025 GB, free: 6.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/1.124, allocations: 37.69 kB / 1.025 GB, free: 6.113 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/1.125, allocations: 0.5166 MB / 1.026 GB, free: 5.594 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.43e-05/1.125, allocations: 91.25 kB / 1.026 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/1.125, allocations: 98.03 kB / 1.026 GB, free: 5.402 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.125, allocations: 326 kB / 1.026 GB, free: 5.078 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/1.125, allocations: 132.7 kB / 1.027 GB, free: 4.949 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/1.126, allocations: 387.7 kB / 1.027 GB, free: 4.461 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/1.127, allocations: 463.5 kB / 1.027 GB, free: 3.922 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.127, allocations: 4 kB / 1.027 GB, free: 3.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001031/1.128, allocations: 0.5478 MB / 1.028 GB, free: 3.363 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.128, allocations: 12.03 kB / 1.028 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.128, allocations: 4 kB / 1.028 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/1.128, allocations: 8 kB / 1.028 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/1.128, allocations: 91.83 kB / 1.028 GB, free: 3.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.128, allocations: 11.94 kB / 1.028 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007132/1.129, allocations: 99.27 kB / 1.028 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/1.129, allocations: 28.53 kB / 1.028 GB, free: 3.113 MB / 0.795 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.0004287/1.129, allocations: 289.5 kB / 1.028 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.13, allocations: 115.2 kB / 1.029 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007734/1.13, allocations: 429.4 kB / 1.029 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/1.13, allocations: 0 / 1.029 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.13, allocations: 4 kB / 1.029 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.13, allocations: 3.984 kB / 1.029 GB, free: 2.27 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/1.133, allocations: 1.53 MB / 1.03 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.133, allocations: 4.562 kB / 1.03 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/1.133, allocations: 41.05 kB / 1.031 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/1.133, allocations: 12 kB / 1.031 GB, free: 0.582 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/1.133, allocations: 8 kB / 1.031 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/1.133, allocations: 11.94 kB / 1.031 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.133, allocations: 6.891 kB / 1.031 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/1.134, allocations: 0.5892 MB / 1.031 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/1.134, allocations: 167.2 kB / 1.031 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.134, allocations: 8 kB / 1.031 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/1.135, allocations: 20.86 kB / 1.031 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/1.135, allocations: 27.84 kB / 1.031 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/1.135, allocations: 16 kB / 1.031 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001109/1.136, allocations: 0.7865 MB / 1.032 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6e-08/1.136, allocations: 0 / 1.032 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001031/1.137, allocations: 291.4 kB / 1.032 GB, free: 14.59 MB / 0.8106 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.001503/1.138, allocations: 1.33 MB / 1.034 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007355/1.139, allocations: 336.7 kB / 1.034 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.139, allocations: 4 kB / 1.034 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/1.139, allocations: 131.8 kB / 1.034 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.142, allocations: 0.5167 MB / 1.035 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.153, allocations: 7.466 MB / 1.042 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009638/1.154, allocations: 1.074 MB / 1.043 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007785/1.154, allocations: 193.3 kB / 1.043 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/1.155, allocations: 363.3 kB / 1.044 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of SimCode: time 1.523e-06/1.155, allocations: 0 / 1.044 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07845/1.233, allocations: 28.54 MB / 1.071 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.57, allocations: 6.406 kB / 1.071 GB, free: 6.512 MB / 0.8419 GB " [Timeout remaining time 645] (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: 18.988248731999192] Failed to read output from testmodel.py, exit status != 0: 14.692190590998507 15.00315896 13.89451629 Calling exit ...