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.001232/0.001232, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001455/0.001455, allocations: 217.6 kB / 23.04 MB, free: 5.074 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8 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.9003/0.9003, allocations: 145 MB / 458.2 MB, free: 15.51 MB / 366.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.001955/0.001955, allocations: 62.38 kB / 0.6339 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1815, allocations: 87.89 MB / 0.7198 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4012/0.5828, allocations: 42.45 MB / 0.7612 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.5966, allocations: 10.47 MB / 0.7714 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.5988, allocations: 77.03 kB / 0.7715 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.6009, allocations: 0.6752 MB / 0.7722 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006349/0.6073, allocations: 2.014 MB / 0.7741 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.6107, allocations: 1.243 MB / 0.7754 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005523/0.6162, allocations: 3.479 MB / 0.7788 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.6177, allocations: 0.8142 MB / 0.7795 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.621, allocations: 1.286 MB / 0.7808 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.6229, allocations: 0.9373 MB / 0.7817 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.6231, allocations: 100.2 kB / 0.7818 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.6259, allocations: 0.9383 MB / 0.7827 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.6263, allocations: 296.9 kB / 0.783 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.6274, allocations: 0.6317 MB / 0.7836 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.6315, allocations: 2.085 MB / 0.7857 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6315, allocations: 4 kB / 0.7857 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6315, allocations: 0 / 0.7857 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.434e-05/0.6315, allocations: 3.938 kB / 0.7857 GB, free: 14.34 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.003052/0.6346, allocations: 1.476 MB / 0.7871 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.6346, allocations: 10.28 kB / 0.7871 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.277e-05/0.6347, allocations: 22.03 kB / 0.7871 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.6348, allocations: 115.6 kB / 0.7873 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.6352, allocations: 140.2 kB / 0.7874 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.6373, allocations: 1.068 MB / 0.7884 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.6374, allocations: 56.03 kB / 0.7885 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6375, allocations: 72.05 kB / 0.7886 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.639, allocations: 0.7885 MB / 0.7893 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.639, allocations: 1 kB / 0.7893 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.6391, allocations: 31.84 kB / 0.7894 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.6391, allocations: 20.86 kB / 0.7894 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.6403, allocations: 0.5726 MB / 0.7899 GB, free: 11.94 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.005113/0.6455, allocations: 3.488 MB / 0.7933 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.6461, allocations: 246.2 kB / 0.7936 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.6464, allocations: 171.4 kB / 0.7937 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.6467, allocations: 55.08 kB / 0.7938 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.6467, allocations: 37.09 kB / 0.7938 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.405e-06/0.6467, allocations: 0 / 0.7938 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001372/0.6481, allocations: 0.5254 MB / 0.7943 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.6482, allocations: 54.88 kB / 0.7944 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.6495, allocations: 0.9456 MB / 0.7953 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.6495, allocations: 32.98 kB / 0.7953 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.65, allocations: 0.5042 MB / 0.7958 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.6501, allocations: 113.6 kB / 0.7959 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.6503, allocations: 121.2 kB / 0.7961 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6504, allocations: 330.5 kB / 0.7964 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.6508, allocations: 163.5 kB / 0.7965 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.6513, allocations: 355.9 kB / 0.7969 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.6522, allocations: 0.5082 MB / 0.7974 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6522, allocations: 5.438 kB / 0.7974 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001336/0.6535, allocations: 0.6241 MB / 0.798 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6536, allocations: 11.25 kB / 0.798 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6536, allocations: 4.969 kB / 0.798 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6536, allocations: 8.125 kB / 0.798 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.654, allocations: 126.9 kB / 0.7981 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.654, allocations: 12.11 kB / 0.7981 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/0.6548, allocations: 83.77 kB / 0.7982 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.6548, allocations: 32.98 kB / 0.7983 GB, free: 6.137 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.000443/0.6553, allocations: 279.6 kB / 0.7985 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.6555, allocations: 103.8 kB / 0.7986 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.6565, allocations: 494.3 kB / 0.7991 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.6565, allocations: 5.656 kB / 0.7991 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6565, allocations: 0 / 0.7991 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007324/0.6573, allocations: 459.7 kB / 0.7995 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.6596, allocations: 1.343 MB / 0.8008 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6596, allocations: 5.125 kB / 0.8008 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.66, allocations: 80.95 kB / 0.8009 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.66, allocations: 3.844 kB / 0.8009 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.66, allocations: 7.844 kB / 0.8009 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.66, allocations: 6.672 kB / 0.8009 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.66, allocations: 2.531 kB / 0.8009 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.6614, allocations: 0.7752 MB / 0.8017 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.6619, allocations: 162.1 kB / 0.8019 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.662, allocations: 11.83 kB / 0.8019 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/0.6625, allocations: 25.19 kB / 0.8019 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.6626, allocations: 26.17 kB / 0.8019 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.6627, allocations: 24.27 kB / 0.8019 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009282/0.6636, allocations: 0.6593 MB / 0.8026 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6636, allocations: 4.062 kB / 0.8026 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00121/0.6648, allocations: 347.7 kB / 0.8029 GB, free: 3.141 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.002792/0.6676, allocations: 1.598 MB / 0.8045 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.6688, allocations: 403.8 kB / 0.8049 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.946e-05/0.6688, allocations: 5.812 kB / 0.8049 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004385/0.6692, allocations: 174.9 kB / 0.805 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/0.6726, allocations: 0.6164 MB / 0.8056 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.6842, allocations: 6.857 MB / 0.8123 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000894/0.685, allocations: 1.044 MB / 0.8134 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001004/0.6861, allocations: 197.2 kB / 0.8135 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006005/0.6867, allocations: 372.2 kB / 0.8139 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.6867, allocations: 0 / 0.8139 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06611/0.7528, allocations: 30.52 MB / 0.8437 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.76, allocations: 14.36 kB / 0.8437 GB, free: 14.38 MB / 0.6231 GB " [Timeout remaining time 646] (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: 17.495491051930003] Failed to read output from testmodel.py, exit status != 0: 13.942410935997032 13.969751745 13.332753088 Calling exit ...