Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.0007163/0.0007163, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007107/0.0007107, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8465/0.8465, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001386/0.001386, allocations: 245.3 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6403/0.6403, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.462e-05, allocations: 5.094 kB / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2632/0.2632, allocations: 38.08 MB / 0.6835 GB, free: 32.79 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.274, allocations: 9.659 MB / 0.6929 GB, free: 26.19 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.276, allocations: 81 kB / 0.693 GB, free: 26.14 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.2778, allocations: 0.6465 MB / 0.6936 GB, free: 25.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.2828, allocations: 2.06 MB / 0.6956 GB, free: 24.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.2858, allocations: 1.258 MB / 0.6969 GB, free: 23.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004777/0.2905, allocations: 3.478 MB / 0.7003 GB, free: 22.14 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.2919, allocations: 0.8161 MB / 0.7011 GB, free: 21.71 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.2959, allocations: 1.706 MB / 0.7027 GB, free: 20.93 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.2976, allocations: 0.7965 MB / 0.7035 GB, free: 20.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.2978, allocations: 99.09 kB / 0.7036 GB, free: 20.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.2995, allocations: 0.7278 MB / 0.7043 GB, free: 20.4 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.2998, allocations: 312.8 kB / 0.7046 GB, free: 20.2 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000514/0.3003, allocations: 435.4 kB / 0.705 GB, free: 20.02 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003103/0.3034, allocations: 1.95 MB / 0.7069 GB, free: 19.33 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3034, allocations: 4 kB / 0.7069 GB, free: 19.33 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3034, allocations: 1.188 kB / 0.7069 GB, free: 19.33 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.643e-05/0.3034, allocations: 0 / 0.7069 GB, free: 19.33 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002319/0.3057, allocations: 1.463 MB / 0.7084 GB, free: 18.36 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.3058, allocations: 11.47 kB / 0.7084 GB, free: 18.36 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.3059, allocations: 116.6 kB / 0.7085 GB, free: 18.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.3062, allocations: 144.9 kB / 0.7086 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.3076, allocations: 1.051 MB / 0.7096 GB, free: 17.49 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.3076, allocations: 55.94 kB / 0.7097 GB, free: 17.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.3077, allocations: 79.55 kB / 0.7098 GB, free: 17.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000943/0.3086, allocations: 0.9413 MB / 0.7107 GB, free: 16.74 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.3087, allocations: 1.156 kB / 0.7107 GB, free: 16.74 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.3087, allocations: 30.53 kB / 0.7107 GB, free: 16.71 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.3087, allocations: 19 kB / 0.7107 GB, free: 16.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/0.3095, allocations: 0.5709 MB / 0.7113 GB, free: 16.43 MB / 0.5573 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.002426/0.3119, allocations: 2.732 MB / 0.714 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.3123, allocations: 245.2 kB / 0.7142 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.3125, allocations: 166 kB / 0.7144 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.3127, allocations: 65.69 kB / 0.7144 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.3127, allocations: 41.09 kB / 0.7145 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.3127, allocations: 1.469 kB / 0.7145 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.000744/0.3135, allocations: 0.5179 MB / 0.715 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.3135, allocations: 57.91 kB / 0.715 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.3143, allocations: 0.9627 MB / 0.716 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3143, allocations: 33.86 kB / 0.716 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.3145, allocations: 0.4917 MB / 0.7165 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.3146, allocations: 122.8 kB / 0.7166 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3147, allocations: 111.5 kB / 0.7167 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.66e-05/0.3147, allocations: 331.1 kB / 0.717 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.3149, allocations: 166 kB / 0.7172 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.3152, allocations: 0.4934 MB / 0.7176 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.3157, allocations: 0.507 MB / 0.7181 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3157, allocations: 1.375 kB / 0.7181 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006876/0.3164, allocations: 0.6249 MB / 0.7188 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3164, allocations: 9.562 kB / 0.7188 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3164, allocations: 6.312 kB / 0.7188 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3164, allocations: 7.906 kB / 0.7188 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.3167, allocations: 129.8 kB / 0.7189 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3167, allocations: 11.97 kB / 0.7189 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.3171, allocations: 87.33 kB / 0.719 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.3171, allocations: 24.91 kB / 0.719 GB, free: 10.74 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0002399/0.3174, allocations: 276.2 kB / 0.7193 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.3175, allocations: 103.2 kB / 0.7194 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.3181, allocations: 0.4906 MB / 0.7199 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.3181, allocations: 7.094 kB / 0.7199 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3181, allocations: 1.562 kB / 0.7199 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004095/0.3185, allocations: 458.2 kB / 0.7203 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.3199, allocations: 1.241 MB / 0.7215 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3199, allocations: 4.406 kB / 0.7215 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.3201, allocations: 72.2 kB / 0.7216 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3201, allocations: 7.406 kB / 0.7216 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3201, allocations: 19.42 kB / 0.7216 GB, free: 8.973 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3201, allocations: 7.219 kB / 0.7216 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3201, allocations: 2.312 kB / 0.7216 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.3208, allocations: 0.7728 MB / 0.7224 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.3211, allocations: 157.9 kB / 0.7225 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.3211, allocations: 8.344 kB / 0.7225 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.3214, allocations: 29.28 kB / 0.7226 GB, free: 8.352 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.3214, allocations: 27.8 kB / 0.7226 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.3215, allocations: 20.39 kB / 0.7226 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005831/0.322, allocations: 0.6666 MB / 0.7233 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.322, allocations: 0 / 0.7233 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009099/0.323, allocations: 343.5 kB / 0.7236 GB, free: 7.859 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001285/0.3242, allocations: 1.596 MB / 0.7252 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005661/0.3248, allocations: 412.9 kB / 0.7255 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3248, allocations: 0 / 0.7255 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.325, allocations: 177.9 kB / 0.7257 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.3265, allocations: 0.6136 MB / 0.7263 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006756/0.3332, allocations: 6.808 MB / 0.733 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3334, allocations: 453.2 kB / 0.7334 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006187/0.334, allocations: 195.2 kB / 0.7336 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.3343, allocations: 380.3 kB / 0.7339 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/0.3343, allocations: 0 / 0.7339 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.3762, allocations: 32.77 MB / 0.7659 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.364, allocations: 0 / 0.7659 GB, free: 0.6016 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.852601431310177] Failed to read output from testmodel.py, exit status != 0: 7.456251938827336 7.464676912 7.159297267 Calling exit ...