Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001609/0.001609, 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.001697/0.001697, allocations: 224.9 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.98 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 0.9428/0.9428, allocations: 150 MB / 463.2 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.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.002036/0.002036, allocations: 66.09 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1775, allocations: 89.17 MB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3967/0.5742, allocations: 42.51 MB / 0.7699 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.5864, allocations: 10.47 MB / 0.7801 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.5883, allocations: 83.72 kB / 0.7802 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.59, allocations: 0.6673 MB / 0.7808 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.5951, allocations: 2.022 MB / 0.7828 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.5981, allocations: 1.232 MB / 0.784 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005018/0.6031, allocations: 3.496 MB / 0.7874 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.6046, allocations: 0.8202 MB / 0.7882 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.6083, allocations: 1.461 MB / 0.7896 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.6102, allocations: 0.924 MB / 0.7905 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.6104, allocations: 102.6 kB / 0.7906 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.6132, allocations: 0.9365 MB / 0.7915 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003581/0.6136, allocations: 294.8 kB / 0.7918 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00081/0.6144, allocations: 0.6406 MB / 0.7925 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.6177, allocations: 1.99 MB / 0.7944 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6177, allocations: 0.9688 kB / 0.7944 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6177, allocations: 0 / 0.7944 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.841e-05/0.6178, allocations: 0 / 0.7944 GB, free: 3.383 MB / 0.5762 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.002609/0.6204, allocations: 1.48 MB / 0.7958 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6204, allocations: 12.88 kB / 0.7959 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.6205, allocations: 114.9 kB / 0.796 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.6209, allocations: 145.6 kB / 0.7961 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.6227, allocations: 1.055 MB / 0.7971 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.6228, allocations: 56.06 kB / 0.7972 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.6229, allocations: 76.14 kB / 0.7973 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.6241, allocations: 0.7881 MB / 0.798 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.6242, allocations: 5.047 kB / 0.798 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.6242, allocations: 29.34 kB / 0.7981 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.6243, allocations: 27.12 kB / 0.7981 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6253, allocations: 0.5662 MB / 0.7986 GB, free: 1.023 MB / 0.5762 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.004171/0.6295, allocations: 3.638 MB / 0.8022 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.6301, allocations: 247.2 kB / 0.8024 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.6304, allocations: 165.4 kB / 0.8026 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.6306, allocations: 63.12 kB / 0.8026 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.6307, allocations: 42.25 kB / 0.8027 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.504e-06/0.6307, allocations: 1.031 kB / 0.8027 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001246/0.6319, allocations: 0.513 MB / 0.8032 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.6319, allocations: 59.69 kB / 0.8032 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.6332, allocations: 0.9616 MB / 0.8042 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.6333, allocations: 31.95 kB / 0.8042 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.6337, allocations: 0.5019 MB / 0.8047 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.6338, allocations: 124.8 kB / 0.8048 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.634, allocations: 117.6 kB / 0.8049 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6341, allocations: 328.6 kB / 0.8053 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.6345, allocations: 164.2 kB / 0.8054 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.635, allocations: 350.2 kB / 0.8057 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.6358, allocations: 0.512 MB / 0.8062 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.6358, allocations: 1.188 kB / 0.8062 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001189/0.637, allocations: 0.6209 MB / 0.8068 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.637, allocations: 9.812 kB / 0.8069 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.6371, allocations: 4.781 kB / 0.8069 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.6371, allocations: 9.5 kB / 0.8069 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.6375, allocations: 124.8 kB / 0.807 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.6375, allocations: 9.781 kB / 0.807 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.6382, allocations: 86.67 kB / 0.8071 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.6382, allocations: 32.91 kB / 0.8071 GB, free: 11.54 MB / 0.5919 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.0004014/0.6386, allocations: 273.8 kB / 0.8074 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.6388, allocations: 104.3 kB / 0.8075 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009554/0.6398, allocations: 493.6 kB / 0.8079 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.6398, allocations: 7.531 kB / 0.808 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6398, allocations: 4.344 kB / 0.808 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007195/0.6405, allocations: 459 kB / 0.8084 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.6428, allocations: 1.345 MB / 0.8097 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.6428, allocations: 1.562 kB / 0.8097 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.6432, allocations: 76.55 kB / 0.8098 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.6432, allocations: 3.125 kB / 0.8098 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.6432, allocations: 8.281 kB / 0.8098 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.6432, allocations: 6.75 kB / 0.8098 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6432, allocations: 1.406 kB / 0.8098 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.6446, allocations: 0.7912 MB / 0.8106 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.645, allocations: 151.4 kB / 0.8107 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.6452, allocations: 6.969 kB / 0.8107 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.6456, allocations: 41.86 kB / 0.8108 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.6457, allocations: 25.95 kB / 0.8108 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.6458, allocations: 16.42 kB / 0.8108 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009737/0.6467, allocations: 0.6648 MB / 0.8115 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6467, allocations: 3.938 kB / 0.8115 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001199/0.6479, allocations: 344.3 kB / 0.8118 GB, free: 8.945 MB / 0.5919 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.002419/0.6503, allocations: 1.573 MB / 0.8133 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009368/0.6513, allocations: 423.2 kB / 0.8137 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6513, allocations: 1.156 kB / 0.8137 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.6516, allocations: 179.2 kB / 0.8139 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.6542, allocations: 0.6061 MB / 0.8145 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.665, allocations: 6.882 MB / 0.8212 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.6657, allocations: 1.037 MB / 0.8222 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008101/0.6665, allocations: 204 kB / 0.8224 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.667, allocations: 374.2 kB / 0.8228 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.667, allocations: 2.812 kB / 0.8228 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07236/0.7393, allocations: 30.28 MB / 0.8523 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.93, allocations: 3.984 kB / 0.8523 GB, free: 7.48 MB / 0.6231 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.724050374003127] Failed to read output from testmodel.py, exit status != 0: 14.055379115976393 14.079235808 13.458178698 Calling exit ...