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.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.00135/0.00135, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001386/0.001386, allocations: 215 kB / 20.13 MB, free: 2.949 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.9199/0.9199, allocations: 144.9 MB / 454.5 MB, free: 10.02 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.7.0/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.001937/0.001937, allocations: 71.3 kB / 0.6287 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1652, allocations: 87.83 MB / 0.7145 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04765/0.2129, allocations: 42.06 MB / 0.7556 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.2309, allocations: 10.42 MB / 0.7657 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.2335, allocations: 79.31 kB / 0.7658 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.2359, allocations: 0.6794 MB / 0.7665 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005897/0.2418, allocations: 1.967 MB / 0.7684 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.2452, allocations: 1.19 MB / 0.7696 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005164/0.2503, allocations: 3.405 MB / 0.7729 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.252, allocations: 0.8724 MB / 0.7737 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.2555, allocations: 1.28 MB / 0.775 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.2574, allocations: 0.9334 MB / 0.7759 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003289/0.2577, allocations: 100 kB / 0.776 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.2603, allocations: 0.9279 MB / 0.7769 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005283/0.2608, allocations: 290.8 kB / 0.7772 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.2621, allocations: 0.6221 MB / 0.7778 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004143/0.2662, allocations: 2.087 MB / 0.7798 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2662, allocations: 0 / 0.7798 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2662, allocations: 0 / 0.7798 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.8e-05/0.2663, allocations: 0 / 0.7798 GB, free: 8.578 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.00335/0.2697, allocations: 1.556 MB / 0.7813 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.2697, allocations: 8.031 kB / 0.7813 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.206e-05/0.2697, allocations: 18.19 kB / 0.7814 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.2699, allocations: 114.7 kB / 0.7815 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/0.2704, allocations: 148.1 kB / 0.7816 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.2727, allocations: 1.123 MB / 0.7827 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/0.2727, allocations: 65.97 kB / 0.7828 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.2729, allocations: 68 kB / 0.7828 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.2745, allocations: 0.7905 MB / 0.7836 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.2745, allocations: 3.953 kB / 0.7836 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.2746, allocations: 28 kB / 0.7836 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.2746, allocations: 20 kB / 0.7837 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.2758, allocations: 0.575 MB / 0.7842 GB, free: 3.93 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.005017/0.2808, allocations: 3.552 MB / 0.7877 GB, free: 152 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.2815, allocations: 247.3 kB / 0.7879 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.2818, allocations: 156.8 kB / 0.7881 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/0.2824, allocations: 0.6609 MB / 0.7887 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2824, allocations: 42.56 kB / 0.7888 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.983e-06/0.2824, allocations: 0 / 0.7888 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001347/0.2838, allocations: 0.5207 MB / 0.7893 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2838, allocations: 55.41 kB / 0.7893 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.2853, allocations: 0.9534 MB / 0.7903 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.2853, allocations: 33.7 kB / 0.7903 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.2858, allocations: 0.5004 MB / 0.7908 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.2859, allocations: 119 kB / 0.7909 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.2861, allocations: 114.2 kB / 0.791 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2862, allocations: 329.9 kB / 0.7913 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.2866, allocations: 165 kB / 0.7915 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.2871, allocations: 354.9 kB / 0.7918 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.288, allocations: 0.5117 MB / 0.7923 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.288, allocations: 0 / 0.7923 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001333/0.2894, allocations: 0.618 MB / 0.7929 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.2894, allocations: 12.12 kB / 0.7929 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2894, allocations: 7.938 kB / 0.7929 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.2894, allocations: 8 kB / 0.7929 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.2899, allocations: 127.7 kB / 0.7931 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.2899, allocations: 8 kB / 0.7931 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.2906, allocations: 91.36 kB / 0.7932 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.2906, allocations: 28 kB / 0.7932 GB, free: 10.14 MB / 0.6075 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.000418/0.2911, allocations: 277.6 kB / 0.7934 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.2913, allocations: 103.3 kB / 0.7935 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.2924, allocations: 487.6 kB / 0.794 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.2924, allocations: 4 kB / 0.794 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2924, allocations: 4 kB / 0.794 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007741/0.2932, allocations: 457.2 kB / 0.7945 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.2956, allocations: 1.363 MB / 0.7958 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.2956, allocations: 8 kB / 0.7958 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.2959, allocations: 75.89 kB / 0.7959 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.2959, allocations: 4 kB / 0.7959 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.2959, allocations: 8 kB / 0.7959 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.296, allocations: 8.141 kB / 0.7959 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.296, allocations: 4 kB / 0.7959 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.2974, allocations: 0.7605 MB / 0.7966 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/0.2978, allocations: 236.3 kB / 0.7969 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.298, allocations: 8 kB / 0.7969 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.2985, allocations: 23.97 kB / 0.7969 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.2986, allocations: 36 kB / 0.7969 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.2986, allocations: 23.98 kB / 0.7969 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009859/0.2996, allocations: 0.6588 MB / 0.7976 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2996, allocations: 0 / 0.7976 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0011/0.3007, allocations: 351.1 kB / 0.7979 GB, free: 5.117 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.002374/0.3031, allocations: 1.59 MB / 0.7995 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.3041, allocations: 404.5 kB / 0.7999 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3041, allocations: 0 / 0.7999 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.3045, allocations: 169.8 kB / 0.8 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.3075, allocations: 0.613 MB / 0.8006 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.319, allocations: 6.857 MB / 0.8073 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007965/0.3198, allocations: 1.036 MB / 0.8083 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008446/0.3207, allocations: 186.7 kB / 0.8085 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.3213, allocations: 375.3 kB / 0.8089 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.3213, allocations: 0 / 0.8089 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06601/0.3873, allocations: 30.11 MB / 0.8383 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.48, allocations: 8 kB / 0.8383 GB, free: 11.93 MB / 0.6544 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.38896307698451] Failed to read output from testmodel.py, exit status != 0: 10.624039271962829 10.638029572 10.368812489 Calling exit ...