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.001452/0.001452, 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.002255/0.002255, allocations: 213.8 kB / 22.99 MB, free: 4.609 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9684/0.9684, allocations: 149.9 MB / 463 MB, free: 10.34 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.002942/0.002942, allocations: 63 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2297, allocations: 89.17 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.5342/0.7639, allocations: 38.42 MB / 0.7657 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01768/0.7816, allocations: 9.666 MB / 0.7751 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.7843, allocations: 83 kB / 0.7752 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.7864, allocations: 0.6395 MB / 0.7758 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006499/0.7929, allocations: 2.012 MB / 0.7778 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.7965, allocations: 1.203 MB / 0.779 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006008/0.8025, allocations: 3.471 MB / 0.7824 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.8042, allocations: 0.8021 MB / 0.7831 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00463/0.8088, allocations: 1.476 MB / 0.7846 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.811, allocations: 0.8873 MB / 0.7854 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.8113, allocations: 100.3 kB / 0.7855 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.8138, allocations: 0.7056 MB / 0.7862 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.8142, allocations: 297.8 kB / 0.7865 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000969/0.8152, allocations: 0.5032 MB / 0.787 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004459/0.8197, allocations: 1.968 MB / 0.7889 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8197, allocations: 0 / 0.7889 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8197, allocations: 1.375 kB / 0.7889 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.02e-05/0.8197, allocations: 0 / 0.7889 GB, free: 4.785 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.003222/0.8229, allocations: 1.481 MB / 0.7904 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.823, allocations: 9.812 kB / 0.7904 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.8231, allocations: 114.6 kB / 0.7905 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.8235, allocations: 140.4 kB / 0.7906 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.826, allocations: 1.058 MB / 0.7917 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.8261, allocations: 57.91 kB / 0.7917 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.8262, allocations: 76.19 kB / 0.7918 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.8278, allocations: 0.9395 MB / 0.7927 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.8279, allocations: 1.094 kB / 0.7927 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.8279, allocations: 35.86 kB / 0.7927 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.828, allocations: 18.44 kB / 0.7928 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.8292, allocations: 0.5645 MB / 0.7933 GB, free: 2.266 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.004239/0.8335, allocations: 2.745 MB / 0.796 GB, free: 492 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.8341, allocations: 256.2 kB / 0.7962 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.8344, allocations: 162.1 kB / 0.7964 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.8347, allocations: 60.61 kB / 0.7964 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.8347, allocations: 40.03 kB / 0.7965 GB, free: 276 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/0.8347, allocations: 5.438 kB / 0.7965 GB, free: 272 kB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001314/0.8361, allocations: 0.5129 MB / 0.797 GB, free: 68 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.8361, allocations: 55.12 kB / 0.797 GB, free: 4 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.8375, allocations: 0.9721 MB / 0.798 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.8376, allocations: 32.92 kB / 0.798 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.8381, allocations: 0.5058 MB / 0.7985 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.8382, allocations: 118.1 kB / 0.7986 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.8384, allocations: 119.5 kB / 0.7987 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.8386, allocations: 327 kB / 0.7991 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.839, allocations: 161.1 kB / 0.7992 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.8397, allocations: 0.4994 MB / 0.7997 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.8407, allocations: 0.5113 MB / 0.8002 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.8407, allocations: 1.312 kB / 0.8002 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001453/0.8422, allocations: 0.623 MB / 0.8008 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.8422, allocations: 7.594 kB / 0.8008 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.8422, allocations: 5.156 kB / 0.8008 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/0.8422, allocations: 7.625 kB / 0.8008 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.8427, allocations: 125.3 kB / 0.8009 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/0.8428, allocations: 12.66 kB / 0.801 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009091/0.8437, allocations: 94.39 kB / 0.801 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.693e-05/0.8437, allocations: 27.31 kB / 0.8011 GB, free: 13.49 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.0004924/0.8442, allocations: 270.3 kB / 0.8013 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.8444, allocations: 107.7 kB / 0.8014 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.8456, allocations: 493 kB / 0.8019 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.8456, allocations: 6.781 kB / 0.8019 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.8456, allocations: 1.281 kB / 0.8019 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008417/0.8464, allocations: 458.8 kB / 0.8023 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.8493, allocations: 1.25 MB / 0.8036 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.8493, allocations: 1.312 kB / 0.8036 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.8496, allocations: 77.2 kB / 0.8036 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.8496, allocations: 2.5 kB / 0.8036 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.8497, allocations: 8.828 kB / 0.8037 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.8497, allocations: 5.359 kB / 0.8037 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.8497, allocations: 5.25 kB / 0.8037 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.8514, allocations: 0.7872 MB / 0.8044 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/0.8519, allocations: 148.2 kB / 0.8046 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.852, allocations: 10.53 kB / 0.8046 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.8525, allocations: 40.73 kB / 0.8046 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.8526, allocations: 27.69 kB / 0.8046 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.8527, allocations: 18.91 kB / 0.8047 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001135/0.8538, allocations: 0.6668 MB / 0.8053 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.8538, allocations: 0 / 0.8053 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001399/0.8552, allocations: 346.1 kB / 0.8056 GB, free: 11.2 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.002879/0.8581, allocations: 1.577 MB / 0.8072 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.8592, allocations: 414 kB / 0.8076 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8592, allocations: 1.188 kB / 0.8076 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.8596, allocations: 176.8 kB / 0.8078 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.8624, allocations: 0.6074 MB / 0.8083 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.8753, allocations: 6.874 MB / 0.8151 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.876, allocations: 455.7 kB / 0.8155 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001057/0.877, allocations: 194.3 kB / 0.8157 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/0.8776, allocations: 376.1 kB / 0.816 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of SimCode: time 1.413e-06/0.8776, allocations: 0 / 0.816 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07867/0.9563, allocations: 32.71 MB / 0.848 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.65, allocations: 10.72 kB / 0.848 GB, free: 10.02 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.622690997086465] Failed to read output from testmodel.py, exit status != 0: 13.783188157249242 13.800120866 12.976836822 Calling exit ...