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.001389/0.001389, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001449/0.001449, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9378/0.9378, allocations: 150 MB / 463.9 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.002019/0.002019, allocations: 70.42 kB / 0.642 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1881, allocations: 89.16 MB / 0.729 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4168/0.6048, allocations: 38.4 MB / 0.7665 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.618, allocations: 9.638 MB / 0.7759 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.6204, allocations: 81.81 kB / 0.776 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.6224, allocations: 0.6451 MB / 0.7767 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005635/0.628, allocations: 2.008 MB / 0.7786 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.6312, allocations: 1.23 MB / 0.7798 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005306/0.6365, allocations: 3.486 MB / 0.7832 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.6381, allocations: 0.8162 MB / 0.784 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.6422, allocations: 1.472 MB / 0.7855 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.6442, allocations: 0.9246 MB / 0.7864 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004289/0.6446, allocations: 99.94 kB / 0.7865 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.6472, allocations: 0.7132 MB / 0.7872 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000578/0.6478, allocations: 296.8 kB / 0.7874 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.6493, allocations: 0.5102 MB / 0.7879 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.6539, allocations: 1.964 MB / 0.7899 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.6539, allocations: 1.984 kB / 0.7899 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6539, allocations: 0 / 0.7899 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.431e-05/0.654, allocations: 0 / 0.7899 GB, free: 4.641 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.003477/0.6575, allocations: 1.479 MB / 0.7913 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.6575, allocations: 14.41 kB / 0.7913 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.286e-05/0.6575, allocations: 19.84 kB / 0.7913 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.6577, allocations: 114.6 kB / 0.7914 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.6581, allocations: 140 kB / 0.7916 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.6599, allocations: 1.064 MB / 0.7926 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.6599, allocations: 54.81 kB / 0.7927 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.66, allocations: 73.06 kB / 0.7927 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.6614, allocations: 0.9434 MB / 0.7937 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.6614, allocations: 3.188 kB / 0.7937 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.6615, allocations: 28.41 kB / 0.7937 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.6615, allocations: 18.78 kB / 0.7937 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.6626, allocations: 0.5751 MB / 0.7943 GB, free: 2.117 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.003525/0.6661, allocations: 2.742 MB / 0.7969 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.6666, allocations: 250.6 kB / 0.7972 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.6669, allocations: 165.4 kB / 0.7973 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.6672, allocations: 63.03 kB / 0.7974 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.6672, allocations: 37.69 kB / 0.7974 GB, free: 128 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.6672, allocations: 1.25 kB / 0.7974 GB, free: 128 kB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001263/0.6685, allocations: 0.5219 MB / 0.7979 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.6685, allocations: 53.56 kB / 0.798 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.6699, allocations: 0.9605 MB / 0.7989 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.6699, allocations: 32.55 kB / 0.799 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/0.6704, allocations: 0.5069 MB / 0.7995 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.6705, allocations: 115 kB / 0.7996 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.6707, allocations: 115.9 kB / 0.7997 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6708, allocations: 333.2 kB / 0.8 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.6712, allocations: 163.9 kB / 0.8002 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.6718, allocations: 0.4941 MB / 0.8006 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.6726, allocations: 0.5117 MB / 0.8011 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6726, allocations: 2.469 kB / 0.8011 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00125/0.6739, allocations: 0.6139 MB / 0.8017 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6739, allocations: 7.125 kB / 0.8017 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.6739, allocations: 5.969 kB / 0.8018 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.6739, allocations: 8 kB / 0.8018 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.6744, allocations: 127.1 kB / 0.8019 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.6744, allocations: 15.98 kB / 0.8019 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.6751, allocations: 82.44 kB / 0.802 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.6752, allocations: 29.86 kB / 0.802 GB, free: 13.36 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.0004346/0.6756, allocations: 280.5 kB / 0.8023 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.6758, allocations: 104.2 kB / 0.8024 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009997/0.6768, allocations: 490.8 kB / 0.8028 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.6768, allocations: 8.203 kB / 0.8028 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6768, allocations: 5.844 kB / 0.8029 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00077/0.6776, allocations: 457.2 kB / 0.8033 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.68, allocations: 1.248 MB / 0.8045 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.68, allocations: 2.469 kB / 0.8045 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.6803, allocations: 77.64 kB / 0.8046 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.6803, allocations: 7.469 kB / 0.8046 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.6803, allocations: 11.11 kB / 0.8046 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.6804, allocations: 2.156 kB / 0.8046 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6804, allocations: 2.188 kB / 0.8046 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.6818, allocations: 0.7916 MB / 0.8054 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/0.6822, allocations: 147.7 kB / 0.8055 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.6823, allocations: 7.656 kB / 0.8055 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.6828, allocations: 35.53 kB / 0.8056 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.6829, allocations: 27.72 kB / 0.8056 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.6829, allocations: 26.08 kB / 0.8056 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008944/0.6838, allocations: 0.6614 MB / 0.8063 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6838, allocations: 0 / 0.8063 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00127/0.6851, allocations: 353.3 kB / 0.8066 GB, free: 11.05 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.002297/0.6874, allocations: 1.566 MB / 0.8081 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009269/0.6883, allocations: 415.9 kB / 0.8085 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6883, allocations: 2.438 kB / 0.8085 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.6887, allocations: 172.9 kB / 0.8087 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/0.6914, allocations: 0.6134 MB / 0.8093 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.702, allocations: 6.879 MB / 0.816 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.7025, allocations: 458.8 kB / 0.8164 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000881/0.7034, allocations: 201.2 kB / 0.8166 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/0.7039, allocations: 371.5 kB / 0.817 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.7039, allocations: 0 / 0.817 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06716/0.7711, allocations: 32.28 MB / 0.8485 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.78, allocations: 10 kB / 0.8485 GB, free: 10.24 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.687959378003143] Failed to read output from testmodel.py, exit status != 0: 13.977510633994825 14.003510173 13.345211358 Calling exit ...