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.001406/0.001406, allocations: 119 kB / 19.69 MB, free: 2.199 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.001729/0.001729, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.603/1.603, allocations: 230.6 MB / 256.8 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.052/1.052, allocations: 150 MB / 463.2 MB, free: 10.49 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.002079/0.002079, allocations: 70.53 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2207, allocations: 89.16 MB / 0.7284 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7571/0.9778, allocations: 254.2 MB / 0.9766 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03693/1.015, allocations: 22.63 MB / 0.9987 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/1.017, allocations: 79.31 kB / 0.9987 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00348/1.02, allocations: 0.9937 MB / 0.9997 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005385/1.026, allocations: 1.54 MB / 1.001 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006351/1.032, allocations: 2.035 MB / 1.003 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005231/1.037, allocations: 2.69 MB / 1.006 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/1.04, allocations: 0.9794 MB / 1.007 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004298/1.044, allocations: 1.627 MB / 1.008 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/1.046, allocations: 0.9494 MB / 1.009 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003451/1.046, allocations: 108 kB / 1.009 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004418/1.051, allocations: 1.843 MB / 1.011 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007332/1.052, allocations: 398.7 kB / 1.012 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/1.053, allocations: 0.6337 MB / 1.012 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005253/1.058, allocations: 2.371 MB / 1.015 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.058, allocations: 0 / 1.015 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/1.058, allocations: 0 / 1.015 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.648e-05/1.058, allocations: 0 / 1.015 GB, free: 1.895 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.003324/1.062, allocations: 1.446 MB / 1.016 GB, free: 420 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.062, allocations: 8.031 kB / 1.016 GB, free: 412 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002486/1.062, allocations: 143.5 kB / 1.016 GB, free: 260 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/1.063, allocations: 227 kB / 1.016 GB, free: 32 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/1.065, allocations: 0.8597 MB / 1.017 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/1.066, allocations: 295.5 kB / 1.017 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/1.066, allocations: 91.98 kB / 1.017 GB, free: 14.72 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/1.067, allocations: 0.9323 MB / 1.018 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.067, allocations: 0 / 1.018 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/1.068, allocations: 39.94 kB / 1.018 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/1.068, allocations: 24 kB / 1.018 GB, free: 13.69 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/1.069, allocations: 0.6324 MB / 1.019 GB, free: 13.05 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.005869/1.075, allocations: 4.375 MB / 1.023 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/1.075, allocations: 174.7 kB / 1.024 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/1.075, allocations: 141.6 kB / 1.024 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/1.076, allocations: 119.9 kB / 1.024 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.076, allocations: 49.16 kB / 1.024 GB, free: 7.801 MB / 0.795 GB Notification: Performance of pre-optimization done (n=24): time 2.174e-06/1.076, allocations: 0 / 1.024 GB, free: 7.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=24): time 0.001261/1.077, allocations: 471.7 kB / 1.024 GB, free: 7.336 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/1.077, allocations: 55.41 kB / 1.024 GB, free: 7.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/1.079, allocations: 1.118 MB / 1.025 GB, free: 6.137 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/1.079, allocations: 37.7 kB / 1.025 GB, free: 6.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005191/1.08, allocations: 0.5244 MB / 1.026 GB, free: 5.566 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/1.08, allocations: 83.28 kB / 1.026 GB, free: 5.484 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/1.08, allocations: 102 kB / 1.026 GB, free: 5.379 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.08, allocations: 318 kB / 1.026 GB, free: 5.062 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/1.08, allocations: 128.8 kB / 1.027 GB, free: 4.938 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/1.081, allocations: 391.7 kB / 1.027 GB, free: 4.445 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/1.082, allocations: 467.5 kB / 1.027 GB, free: 3.902 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/1.082, allocations: 0 / 1.027 GB, free: 3.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001087/1.083, allocations: 0.547 MB / 1.028 GB, free: 3.348 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.083, allocations: 8 kB / 1.028 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.083, allocations: 8 kB / 1.028 GB, free: 3.332 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.083, allocations: 8.688 kB / 1.028 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/1.083, allocations: 91.84 kB / 1.028 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/1.083, allocations: 12.61 kB / 1.028 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/1.084, allocations: 95.28 kB / 1.028 GB, free: 3.129 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/1.084, allocations: 23.98 kB / 1.028 GB, free: 3.105 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.0004631/1.084, allocations: 295.4 kB / 1.028 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/1.085, allocations: 111.2 kB / 1.029 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008962/1.085, allocations: 441.9 kB / 1.029 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.085, allocations: 0 / 1.029 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.085, allocations: 3.938 kB / 1.029 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/1.085, allocations: 0 / 1.029 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/1.088, allocations: 1.534 MB / 1.03 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.088, allocations: 4 kB / 1.03 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/1.088, allocations: 40.61 kB / 1.031 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.088, allocations: 4 kB / 1.031 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.088, allocations: 12 kB / 1.031 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/1.088, allocations: 18.75 kB / 1.031 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.089, allocations: 5.125 kB / 1.031 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/1.089, allocations: 0.5894 MB / 1.031 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/1.09, allocations: 167.2 kB / 1.031 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.09, allocations: 4 kB / 1.031 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/1.09, allocations: 19.98 kB / 1.031 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/1.09, allocations: 32.12 kB / 1.031 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/1.09, allocations: 15.98 kB / 1.031 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001197/1.092, allocations: 0.7865 MB / 1.032 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7e-08/1.092, allocations: 0 / 1.032 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001117/1.093, allocations: 291.4 kB / 1.032 GB, free: 14.57 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.001953/1.095, allocations: 1.326 MB / 1.034 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007181/1.095, allocations: 331.5 kB / 1.034 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.095, allocations: 1.375 kB / 1.034 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/1.096, allocations: 144.2 kB / 1.034 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.098, allocations: 0.5081 MB / 1.035 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.11, allocations: 7.47 MB / 1.042 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008425/1.111, allocations: 1.071 MB / 1.043 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007405/1.112, allocations: 199.7 kB / 1.043 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/1.112, allocations: 367.3 kB / 1.044 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of SimCode: time 8.92e-07/1.112, allocations: 0 / 1.044 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08083/1.193, allocations: 28.53 MB / 1.071 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.56, allocations: 9.172 kB / 1.071 GB, free: 6.508 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.13801910285838] Failed to read output from testmodel.py, exit status != 0: 14.689109180821106 15.032454346 13.971169635 Calling exit ...