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.001669/0.001669, allocations: 117.5 kB / 17.13 MB, free: 5.941 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.00199/0.00199, allocations: 198.2 kB / 20.08 MB, free: 3.008 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.441/1.441, allocations: 225.6 MB / 248.5 MB, free: 3.656 MB / 190.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.9252/0.9252, allocations: 145.2 MB / 448.6 MB, free: 13.83 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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 68.64 kB / 0.6211 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1823, allocations: 86.65 MB / 0.7057 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04986/0.2322, allocations: 41.88 MB / 0.7466 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.2505, allocations: 10.43 MB / 0.7568 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.253, allocations: 59.69 kB / 0.7569 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.2554, allocations: 0.6637 MB / 0.7575 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.2617, allocations: 1.978 MB / 0.7594 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.2652, allocations: 1.188 MB / 0.7606 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005631/0.2709, allocations: 3.391 MB / 0.7639 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.2727, allocations: 0.8763 MB / 0.7648 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/0.2766, allocations: 1.265 MB / 0.766 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.2789, allocations: 0.9333 MB / 0.7669 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.2793, allocations: 96 kB / 0.767 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/0.2825, allocations: 0.889 MB / 0.7679 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006413/0.2832, allocations: 298.8 kB / 0.7682 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.2848, allocations: 0.6337 MB / 0.7688 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004903/0.2897, allocations: 2.028 MB / 0.7708 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2897, allocations: 0 / 0.7708 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2897, allocations: 0 / 0.7708 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.922e-05/0.2898, allocations: 0 / 0.7708 GB, free: 15.89 MB / 0.5919 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.004058/0.2939, allocations: 1.56 MB / 0.7723 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2939, allocations: 8.031 kB / 0.7723 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006098/0.2945, allocations: 144.1 kB / 0.7724 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.297, allocations: 1.118 MB / 0.7735 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.2971, allocations: 54 kB / 0.7736 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.2972, allocations: 75.94 kB / 0.7736 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.2988, allocations: 0.7905 MB / 0.7744 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.2989, allocations: 0 / 0.7744 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.299, allocations: 28 kB / 0.7744 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.299, allocations: 19.98 kB / 0.7745 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.3003, allocations: 0.5711 MB / 0.775 GB, free: 11.39 MB / 0.5919 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.005207/0.3055, allocations: 3.572 MB / 0.7785 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.3062, allocations: 242.4 kB / 0.7787 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.3065, allocations: 168.8 kB / 0.7789 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000694/0.3072, allocations: 0.6532 MB / 0.7795 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.3073, allocations: 34.56 kB / 0.7796 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 3.667e-06/0.3073, allocations: 0 / 0.7796 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001423/0.3087, allocations: 0.5246 MB / 0.7801 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.3088, allocations: 55.41 kB / 0.7801 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.3102, allocations: 0.9456 MB / 0.7811 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.3103, allocations: 33.7 kB / 0.7811 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/0.3108, allocations: 0.5043 MB / 0.7816 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.3109, allocations: 115 kB / 0.7817 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.3111, allocations: 122.1 kB / 0.7818 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3113, allocations: 325.9 kB / 0.7821 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.3117, allocations: 165 kB / 0.7823 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.3123, allocations: 350.9 kB / 0.7826 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/0.3133, allocations: 0.5116 MB / 0.7831 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3133, allocations: 0 / 0.7831 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001419/0.3147, allocations: 0.6177 MB / 0.7837 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3147, allocations: 8 kB / 0.7837 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.3148, allocations: 7.984 kB / 0.7837 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.3148, allocations: 8 kB / 0.7837 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.3153, allocations: 120.3 kB / 0.7838 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.3153, allocations: 12 kB / 0.7839 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/0.316, allocations: 87.38 kB / 0.7839 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.3161, allocations: 31.97 kB / 0.784 GB, free: 1.605 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.000481/0.3166, allocations: 277.6 kB / 0.7842 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.3168, allocations: 103.3 kB / 0.7843 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.318, allocations: 0.4899 MB / 0.7848 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.318, allocations: 4 kB / 0.7848 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.318, allocations: 4.062 kB / 0.7848 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008379/0.3188, allocations: 449.5 kB / 0.7853 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.3214, allocations: 1.367 MB / 0.7866 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3214, allocations: 160 / 0.7866 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.3218, allocations: 79.89 kB / 0.7867 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.3218, allocations: 7.938 kB / 0.7867 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.3219, allocations: 11.98 kB / 0.7867 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3219, allocations: 4 kB / 0.7867 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3219, allocations: 0 / 0.7867 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.3234, allocations: 0.7716 MB / 0.7874 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.3239, allocations: 240.3 kB / 0.7877 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.3241, allocations: 8 kB / 0.7877 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005968/0.3247, allocations: 31.95 kB / 0.7877 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.3247, allocations: 27.91 kB / 0.7877 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.3248, allocations: 19.98 kB / 0.7878 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001172/0.326, allocations: 0.6588 MB / 0.7884 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.326, allocations: 0 / 0.7884 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001235/0.3272, allocations: 347.2 kB / 0.7887 GB, free: 12.57 MB / 0.6075 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.001066/0.3283, allocations: 407.3 kB / 0.7891 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.3293, allocations: 408.7 kB / 0.7895 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3293, allocations: 4.062 kB / 0.7895 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.3298, allocations: 177 kB / 0.7897 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.3326, allocations: 0.6157 MB / 0.7903 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.3359, allocations: 1.656 MB / 0.7919 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/0.3367, allocations: 1.028 MB / 0.7929 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.3369, allocations: 83.42 kB / 0.793 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/0.3369, allocations: 3.938 kB / 0.793 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of Templates: time 0.03402/0.3709, allocations: 18.47 MB / 0.811 GB, free: 5.859 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.337619976140559] Failed to read output from testmodel.py, exit status != 0: 0.3791358780581504 0.39517369500000005 0.102138764 Calling exit ...