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.001768/0.001768, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002226/0.002226, allocations: 211.4 kB / 22.99 MB, free: 4.609 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.622/1.622, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.04/1.04, allocations: 149.9 MB / 463 MB, free: 10.31 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.002442/0.002442, allocations: 66.45 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2128, allocations: 89.17 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7345/0.9474, allocations: 222.3 MB / 0.9452 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02835/0.9757, allocations: 20.58 MB / 0.9653 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.9778, allocations: 79.31 kB / 0.9654 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.9811, allocations: 0.9821 MB / 0.9663 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.9866, allocations: 1.515 MB / 0.9678 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005844/0.9924, allocations: 1.953 MB / 0.9697 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004909/0.9973, allocations: 2.686 MB / 0.9724 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.9993, allocations: 0.9619 MB / 0.9733 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00441/1.004, allocations: 1.623 MB / 0.9749 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/1.006, allocations: 0.8987 MB / 0.9758 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/1.006, allocations: 111.9 kB / 0.9759 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/1.01, allocations: 1.391 MB / 0.9772 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000518/1.01, allocations: 390.7 kB / 0.9776 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008055/1.011, allocations: 0.5056 MB / 0.9781 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004222/1.015, allocations: 2.312 MB / 0.9803 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.015, allocations: 0 / 0.9803 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.264e-06/1.015, allocations: 3.938 kB / 0.9804 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.866e-05/1.015, allocations: 4 kB / 0.9804 GB, free: 2.602 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002455/1.018, allocations: 1.438 MB / 0.9818 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.018, allocations: 12.03 kB / 0.9818 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/1.018, allocations: 139.5 kB / 0.9819 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/1.019, allocations: 239.9 kB / 0.9821 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/1.021, allocations: 0.852 MB / 0.983 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/1.021, allocations: 295.5 kB / 0.9832 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/1.021, allocations: 88 kB / 0.9833 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/1.023, allocations: 0.9285 MB / 0.9842 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/1.023, allocations: 7.938 kB / 0.9842 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/1.023, allocations: 36 kB / 0.9843 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/1.023, allocations: 24 kB / 0.9843 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/1.024, allocations: 0.6285 MB / 0.9849 GB, free: 13.78 MB / 0.7637 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.004472/1.029, allocations: 2.896 MB / 0.9877 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/1.029, allocations: 174.7 kB / 0.9879 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/1.029, allocations: 134.2 kB / 0.988 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/1.03, allocations: 143.9 kB / 0.9882 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.03, allocations: 34.56 kB / 0.9882 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 4.027e-06/1.03, allocations: 4 kB / 0.9882 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.00108/1.031, allocations: 471.7 kB / 0.9887 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.031, allocations: 51.41 kB / 0.9887 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/1.032, allocations: 1.134 MB / 0.9898 GB, free: 8.629 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/1.032, allocations: 37.64 kB / 0.9899 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/1.033, allocations: 0.5127 MB / 0.9904 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/1.033, allocations: 91.25 kB / 0.9904 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.033, allocations: 102 kB / 0.9905 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.033, allocations: 330 kB / 0.9909 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/1.034, allocations: 128.8 kB / 0.991 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/1.034, allocations: 0.7261 MB / 0.9917 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/1.035, allocations: 467.5 kB / 0.9921 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.035, allocations: 4 kB / 0.9921 GB, free: 5.953 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001082/1.036, allocations: 0.5514 MB / 0.9927 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.036, allocations: 8 kB / 0.9927 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.036, allocations: 4 kB / 0.9927 GB, free: 5.383 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/1.036, allocations: 8 kB / 0.9927 GB, free: 5.375 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/1.037, allocations: 87.84 kB / 0.9928 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.037, allocations: 11.98 kB / 0.9928 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/1.037, allocations: 95.27 kB / 0.9929 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/1.037, allocations: 28 kB / 0.9929 GB, free: 5.156 MB / 0.7637 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.0004797/1.038, allocations: 293.7 kB / 0.9932 GB, free: 4.859 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/1.038, allocations: 111.5 kB / 0.9933 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007663/1.039, allocations: 435 kB / 0.9937 GB, free: 4.316 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.039, allocations: 7.984 kB / 0.9937 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.039, allocations: 0 / 0.9937 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.039, allocations: 3.938 kB / 0.9937 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/1.041, allocations: 1.44 MB / 0.9951 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.041, allocations: 5.688 kB / 0.9951 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/1.041, allocations: 51.91 kB / 0.9952 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/1.041, allocations: 8 kB / 0.9952 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.041, allocations: 4 kB / 0.9952 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/1.041, allocations: 11.94 kB / 0.9952 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.041, allocations: 4 kB / 0.9952 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/1.042, allocations: 0.582 MB / 0.9958 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/1.042, allocations: 167.2 kB / 0.9959 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/1.043, allocations: 12.86 kB / 0.9959 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/1.043, allocations: 19.98 kB / 0.996 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/1.043, allocations: 31.84 kB / 0.996 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/1.043, allocations: 12 kB / 0.996 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001163/1.044, allocations: 0.7865 MB / 0.9968 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/1.044, allocations: 0 / 0.9968 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009529/1.045, allocations: 291.4 kB / 0.9971 GB, free: 0.7109 MB / 0.7637 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.001475/1.047, allocations: 1.324 MB / 0.9983 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00068/1.047, allocations: 343.3 kB / 0.9987 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/1.047, allocations: 1.375 kB / 0.9987 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/1.048, allocations: 136.6 kB / 0.9988 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.05, allocations: 0.5118 MB / 0.9993 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.061, allocations: 7.463 MB / 1.007 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/1.061, allocations: 481 kB / 1.007 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007893/1.062, allocations: 201.7 kB / 1.007 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/1.062, allocations: 371.3 kB / 1.008 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of SimCode: time 1.112e-06/1.062, allocations: 0 / 1.008 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07616/1.139, allocations: 30.73 MB / 1.038 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.3, allocations: 7.844 kB / 1.038 GB, free: 7.227 MB / 0.8106 GB " [Timeout remaining time 647] (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: 17.602027739863843] Failed to read output from testmodel.py, exit status != 0: 13.425235691014677 13.442651125 12.423762255 Calling exit ...