Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 105.9 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8834/0.8834, allocations: 145.2 MB / 447.9 MB, free: 6.336 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 67.45 kB / 0.62 GB, free: 1.484 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.186, allocations: 86.64 MB / 0.7046 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0455/0.2315, allocations: 41.88 MB / 0.7455 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3646/0.5962, allocations: 10.41 MB / 0.7556 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.5981, allocations: 61.5 kB / 0.7557 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.6, allocations: 0.6665 MB / 0.7564 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005463/0.6055, allocations: 1.978 MB / 0.7583 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.6089, allocations: 1.187 MB / 0.7594 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005761/0.6146, allocations: 3.4 MB / 0.7628 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.6164, allocations: 0.8644 MB / 0.7636 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004175/0.6206, allocations: 1.27 MB / 0.7649 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.6231, allocations: 0.9326 MB / 0.7658 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.6234, allocations: 102.8 kB / 0.7659 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.6262, allocations: 0.8944 MB / 0.7667 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.6266, allocations: 293.1 kB / 0.767 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.6278, allocations: 0.6264 MB / 0.7676 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.6321, allocations: 2.03 MB / 0.7696 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6321, allocations: 0 / 0.7696 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6321, allocations: 1.031 kB / 0.7696 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.939e-05/0.6322, allocations: 0 / 0.7696 GB, free: 1.984 MB / 0.5606 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.002982/0.6352, allocations: 1.563 MB / 0.7711 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.6352, allocations: 9.125 kB / 0.7711 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.6353, allocations: 116 kB / 0.7713 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.6358, allocations: 143.7 kB / 0.7714 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.6377, allocations: 1.114 MB / 0.7725 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.6377, allocations: 59.5 kB / 0.7725 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.6378, allocations: 73.03 kB / 0.7726 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.6395, allocations: 0.809 MB / 0.7734 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.6395, allocations: 5.438 kB / 0.7734 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.6396, allocations: 27.91 kB / 0.7734 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.6396, allocations: 19.28 kB / 0.7734 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.6408, allocations: 0.5756 MB / 0.774 GB, free: 15.57 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.005082/0.6459, allocations: 3.558 MB / 0.7775 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.6465, allocations: 244.6 kB / 0.7777 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.6468, allocations: 173.2 kB / 0.7779 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/0.6475, allocations: 0.6566 MB / 0.7785 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.6475, allocations: 40.72 kB / 0.7786 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.6475, allocations: 1.125 kB / 0.7786 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001361/0.6489, allocations: 0.5144 MB / 0.7791 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.6489, allocations: 63.03 kB / 0.7791 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.6504, allocations: 0.9467 MB / 0.78 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.6505, allocations: 31.89 kB / 0.7801 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.6509, allocations: 0.5036 MB / 0.7806 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.6511, allocations: 117.4 kB / 0.7807 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.6513, allocations: 116 kB / 0.7808 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6514, allocations: 329.3 kB / 0.7811 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.6518, allocations: 169 kB / 0.7813 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.6524, allocations: 352 kB / 0.7816 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.6533, allocations: 0.5078 MB / 0.7821 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6533, allocations: 2.656 kB / 0.7821 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001309/0.6546, allocations: 0.6136 MB / 0.7827 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.6546, allocations: 11.19 kB / 0.7827 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6546, allocations: 5 kB / 0.7827 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.6547, allocations: 8.344 kB / 0.7827 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.6551, allocations: 127.8 kB / 0.7828 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.6551, allocations: 14.53 kB / 0.7829 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/0.6559, allocations: 86.11 kB / 0.7829 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.656, allocations: 28.17 kB / 0.783 GB, free: 9.465 MB / 0.5762 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.0004882/0.6565, allocations: 275.4 kB / 0.7832 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.6568, allocations: 103.4 kB / 0.7833 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.6578, allocations: 487.5 kB / 0.7838 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.6578, allocations: 9.875 kB / 0.7838 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6579, allocations: 4 kB / 0.7838 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000746/0.6586, allocations: 452.8 kB / 0.7842 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.6612, allocations: 1.361 MB / 0.7856 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6612, allocations: 2.062 kB / 0.7856 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.6615, allocations: 77.81 kB / 0.7856 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.6616, allocations: 6.281 kB / 0.7857 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.6616, allocations: 8.531 kB / 0.7857 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.6616, allocations: 7.625 kB / 0.7857 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.6616, allocations: 6.391 kB / 0.7857 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.663, allocations: 0.7663 MB / 0.7864 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/0.6636, allocations: 239.7 kB / 0.7867 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.6638, allocations: 10.78 kB / 0.7867 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.6644, allocations: 33.47 kB / 0.7867 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.6645, allocations: 29.39 kB / 0.7867 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.6646, allocations: 15.3 kB / 0.7867 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001123/0.6657, allocations: 0.6608 MB / 0.7874 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6657, allocations: 1.375 kB / 0.7874 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001351/0.667, allocations: 339.1 kB / 0.7877 GB, free: 7.016 MB / 0.5762 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.002722/0.6698, allocations: 1.621 MB / 0.7893 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009894/0.6707, allocations: 414.4 kB / 0.7897 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.6708, allocations: 1.438 kB / 0.7897 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004/0.6712, allocations: 175.4 kB / 0.7899 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.6742, allocations: 0.6087 MB / 0.7904 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.6854, allocations: 6.851 MB / 0.7971 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007091/0.6861, allocations: 1.034 MB / 0.7981 GB, free: 136 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000857/0.687, allocations: 194.6 kB / 0.7983 GB, free: 48 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/0.6876, allocations: 371 kB / 0.7987 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.6876, allocations: 3.938 kB / 0.7987 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07038/0.7579, allocations: 30.14 MB / 0.8281 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.29, allocations: 10.81 kB / 0.8281 GB, free: 4.633 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.926555269863456] Failed to read output from testmodel.py, exit status != 0: 11.378724355250597 11.405738734 10.768512792 Calling exit ...