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.001792/0.001792, 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.00225/0.00225, allocations: 213.5 kB / 22.99 MB, free: 4.605 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.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.805 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/1, allocations: 149.9 MB / 463 MB, free: 10.33 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="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.002116/0.002116, allocations: 74.88 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2248, allocations: 89.18 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7682/0.9931, allocations: 222.3 MB / 0.9452 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03538/1.028, allocations: 20.57 MB / 0.9653 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/1.031, allocations: 79.31 kB / 0.9654 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003874/1.035, allocations: 0.9782 MB / 0.9663 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005627/1.04, allocations: 1.516 MB / 0.9678 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006551/1.047, allocations: 1.957 MB / 0.9697 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005226/1.052, allocations: 2.686 MB / 0.9724 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/1.055, allocations: 0.9657 MB / 0.9733 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005382/1.06, allocations: 1.627 MB / 0.9749 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/1.062, allocations: 0.8869 MB / 0.9758 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003975/1.063, allocations: 108 kB / 0.9759 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/1.067, allocations: 1.395 MB / 0.9772 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000683/1.067, allocations: 390.7 kB / 0.9776 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/1.069, allocations: 0.5172 MB / 0.9781 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005149/1.074, allocations: 2.308 MB / 0.9804 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.074, allocations: 0 / 0.9804 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.605e-06/1.074, allocations: 0 / 0.9804 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.577e-05/1.074, allocations: 0 / 0.9804 GB, free: 2.586 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.003309/1.077, allocations: 1.442 MB / 0.9818 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.077, allocations: 8.031 kB / 0.9818 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00026/1.077, allocations: 139.5 kB / 0.9819 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/1.079, allocations: 231 kB / 0.9821 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/1.081, allocations: 0.8567 MB / 0.983 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/1.081, allocations: 295.5 kB / 0.9832 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/1.081, allocations: 96 kB / 0.9833 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/1.083, allocations: 0.9324 MB / 0.9842 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/1.083, allocations: 0 / 0.9842 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/1.083, allocations: 36 kB / 0.9843 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/1.083, allocations: 31.88 kB / 0.9843 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.085, allocations: 0.6284 MB / 0.9849 GB, free: 13.75 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.00539/1.09, allocations: 2.892 MB / 0.9877 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/1.091, allocations: 178.7 kB / 0.9879 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/1.091, allocations: 138.3 kB / 0.988 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/1.091, allocations: 131.9 kB / 0.9882 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.092, allocations: 34.66 kB / 0.9882 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 2.515e-06/1.092, allocations: 3.938 kB / 0.9882 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.001254/1.093, allocations: 472.7 kB / 0.9887 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/1.093, allocations: 59.34 kB / 0.9887 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/1.095, allocations: 1.13 MB / 0.9898 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/1.095, allocations: 33.7 kB / 0.9899 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005055/1.095, allocations: 0.5166 MB / 0.9904 GB, free: 8.047 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/1.095, allocations: 87.27 kB / 0.9904 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/1.095, allocations: 106 kB / 0.9905 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.096, allocations: 322 kB / 0.9908 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/1.096, allocations: 128.8 kB / 0.991 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/1.097, allocations: 0.7261 MB / 0.9917 GB, free: 6.484 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/1.097, allocations: 471.6 kB / 0.9921 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.097, allocations: 0 / 0.9921 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00111/1.098, allocations: 0.5513 MB / 0.9927 GB, free: 5.379 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.098, allocations: 8 kB / 0.9927 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.098, allocations: 8 kB / 0.9927 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/1.098, allocations: 8 kB / 0.9927 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/1.099, allocations: 87.83 kB / 0.9928 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/1.099, allocations: 11.94 kB / 0.9928 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/1.1, allocations: 99.55 kB / 0.9929 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/1.1, allocations: 28 kB / 0.9929 GB, free: 5.133 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.0005276/1.1, allocations: 293.5 kB / 0.9932 GB, free: 4.836 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/1.101, allocations: 115.2 kB / 0.9933 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008981/1.101, allocations: 430.2 kB / 0.9937 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.101, allocations: 0 / 0.9937 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.101, allocations: 4 kB / 0.9937 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.101, allocations: 4 kB / 0.9937 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/1.104, allocations: 1.441 MB / 0.9951 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.104, allocations: 9.219 kB / 0.9951 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/1.104, allocations: 43.92 kB / 0.9952 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/1.104, allocations: 4 kB / 0.9952 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/1.104, allocations: 8 kB / 0.9952 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-05/1.104, allocations: 7.938 kB / 0.9952 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.104, allocations: 8 kB / 0.9952 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/1.105, allocations: 0.5891 MB / 0.9958 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/1.106, allocations: 163.2 kB / 0.9959 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/1.106, allocations: 16.88 kB / 0.9959 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/1.106, allocations: 15.98 kB / 0.996 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/1.107, allocations: 31.84 kB / 0.996 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/1.107, allocations: 12 kB / 0.996 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001291/1.108, allocations: 0.7865 MB / 0.9968 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/1.108, allocations: 0 / 0.9968 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001079/1.109, allocations: 291.3 kB / 0.997 GB, free: 0.6953 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.001618/1.111, allocations: 1.334 MB / 0.9984 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007372/1.111, allocations: 328.8 kB / 0.9987 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.111, allocations: 4 kB / 0.9987 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/1.112, allocations: 140.2 kB / 0.9988 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.114, allocations: 0.5186 MB / 0.9993 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/1.127, allocations: 7.463 MB / 1.007 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/1.127, allocations: 485 kB / 1.007 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008577/1.128, allocations: 198.2 kB / 1.007 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/1.129, allocations: 363.3 kB / 1.008 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of SimCode: time 9.42e-07/1.129, allocations: 0 / 1.008 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07908/1.208, allocations: 30.73 MB / 1.038 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.39, allocations: 4.062 kB / 1.038 GB, free: 7.223 MB / 0.8106 GB " [Timeout remaining time 646] (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: 17.424825848080218] Failed to read output from testmodel.py, exit status != 0: 13.514894447755069 13.531778009 12.454371205 Calling exit ...