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.001719/0.001719, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.001975/0.001975, allocations: 213.7 kB / 23.79 MB, free: 4.68 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.483/1.483, allocations: 230.6 MB / 257.6 MB, free: 8 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 / 464 MB, free: 10.48 MB / 366.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",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.001938/0.001938, allocations: 67.19 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2137, allocations: 89.17 MB / 0.7291 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7114/0.9251, allocations: 254.2 MB / 0.9773 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03162/0.9568, allocations: 22.62 MB / 0.9994 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.9589, allocations: 79.31 kB / 0.9995 GB, free: 2.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.9623, allocations: 0.9898 MB / 1 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005155/0.9675, allocations: 1.547 MB / 1.002 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005653/0.9731, allocations: 2.026 MB / 1.004 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004432/0.9775, allocations: 2.696 MB / 1.007 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.9793, allocations: 0.9824 MB / 1.008 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.9832, allocations: 1.623 MB / 1.009 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.985, allocations: 0.9572 MB / 1.01 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.9852, allocations: 112 kB / 1.01 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004215/0.9894, allocations: 1.832 MB / 1.012 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.9899, allocations: 398.7 kB / 1.012 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008448/0.9908, allocations: 0.6337 MB / 1.013 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/0.9948, allocations: 2.363 MB / 1.015 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9948, allocations: 0 / 1.015 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9948, allocations: 0 / 1.015 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.9948, allocations: 4 kB / 1.015 GB, free: 1.98 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.002336/0.9972, allocations: 1.446 MB / 1.017 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.9972, allocations: 8.031 kB / 1.017 GB, free: 500 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.963e-05/0.9973, allocations: 27.81 kB / 1.017 GB, free: 476 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.9974, allocations: 135.5 kB / 1.017 GB, free: 332 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.9986, allocations: 247 kB / 1.017 GB, free: 84 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/1, allocations: 0.8481 MB / 1.018 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/1.001, allocations: 295.5 kB / 1.018 GB, free: 14.87 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/1.001, allocations: 96 kB / 1.018 GB, free: 14.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/1.002, allocations: 0.9285 MB / 1.019 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/1.002, allocations: 0 / 1.019 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/1.003, allocations: 40 kB / 1.019 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/1.003, allocations: 20 kB / 1.019 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/1.004, allocations: 0.6323 MB / 1.02 GB, free: 13.12 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.005434/1.009, allocations: 4.371 MB / 1.024 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/1.01, allocations: 186.7 kB / 1.024 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/1.01, allocations: 140.3 kB / 1.024 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/1.01, allocations: 127.9 kB / 1.025 GB, free: 7.906 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/1.01, allocations: 30.56 kB / 1.025 GB, free: 7.867 MB / 0.795 GB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/1.01, allocations: 0 / 1.025 GB, free: 7.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=24): time 0.00127/1.012, allocations: 483.7 kB / 1.025 GB, free: 7.391 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/1.012, allocations: 55.41 kB / 1.025 GB, free: 7.324 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/1.013, allocations: 1.115 MB / 1.026 GB, free: 6.195 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/1.013, allocations: 33.7 kB / 1.026 GB, free: 6.156 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/1.014, allocations: 0.5204 MB / 1.027 GB, free: 5.633 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.791e-05/1.014, allocations: 91.2 kB / 1.027 GB, free: 5.543 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.014, allocations: 106 kB / 1.027 GB, free: 5.434 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.014, allocations: 322 kB / 1.027 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/1.015, allocations: 132.8 kB / 1.027 GB, free: 4.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/1.015, allocations: 383.4 kB / 1.028 GB, free: 4.504 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/1.016, allocations: 463.6 kB / 1.028 GB, free: 3.965 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.016, allocations: 0 / 1.028 GB, free: 3.965 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001034/1.017, allocations: 0.5512 MB / 1.029 GB, free: 3.406 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.017, allocations: 8 kB / 1.029 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.017, allocations: 4 kB / 1.029 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/1.017, allocations: 8 kB / 1.029 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/1.017, allocations: 91.83 kB / 1.029 GB, free: 3.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.017, allocations: 15.94 kB / 1.029 GB, free: 3.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/1.018, allocations: 99.7 kB / 1.029 GB, free: 3.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/1.018, allocations: 28 kB / 1.029 GB, free: 3.156 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.0004541/1.019, allocations: 297.4 kB / 1.029 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/1.019, allocations: 111.2 kB / 1.029 GB, free: 2.746 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007871/1.02, allocations: 423.7 kB / 1.03 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.02, allocations: 8 kB / 1.03 GB, free: 2.312 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.02, allocations: 0 / 1.03 GB, free: 2.312 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.02, allocations: 3.984 kB / 1.03 GB, free: 2.309 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/1.022, allocations: 1.529 MB / 1.031 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.022, allocations: 4 kB / 1.031 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.022, allocations: 47.91 kB / 1.031 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/1.022, allocations: 8 kB / 1.031 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/1.022, allocations: 8 kB / 1.031 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/1.022, allocations: 4 kB / 1.031 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.022, allocations: 7.938 kB / 1.031 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/1.023, allocations: 0.5784 MB / 1.032 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/1.023, allocations: 171.2 kB / 1.032 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.024, allocations: 15.98 kB / 1.032 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/1.024, allocations: 15.98 kB / 1.032 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/1.024, allocations: 23.84 kB / 1.032 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/1.024, allocations: 21 kB / 1.032 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001183/1.025, allocations: 0.7865 MB / 1.033 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.025, allocations: 0 / 1.033 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001073/1.026, allocations: 287.4 kB / 1.033 GB, free: 14.63 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.001541/1.028, allocations: 1.338 MB / 1.034 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006615/1.029, allocations: 339.5 kB / 1.035 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.029, allocations: 0 / 1.035 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/1.029, allocations: 134 kB / 1.035 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.031, allocations: 0.5165 MB / 1.035 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.042, allocations: 7.466 MB / 1.043 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/1.043, allocations: 1.067 MB / 1.044 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007444/1.043, allocations: 208.2 kB / 1.044 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005122/1.044, allocations: 363.3 kB / 1.044 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of SimCode: time 8.21e-07/1.044, allocations: 0 / 1.044 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0785/1.122, allocations: 28.56 MB / 1.072 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.67, allocations: 8 kB / 1.072 GB, free: 6.535 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 19.098393055959605] Failed to read output from testmodel.py, exit status != 0: 14.853964072011877 15.171844643 14.171980401 Calling exit ...