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.001336/0.001336, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001584/0.001584, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9015/0.9015, allocations: 145 MB / 458.2 MB, free: 15.26 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.002148/0.002148, allocations: 66.39 kB / 0.6339 GB, free: 6.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1701, allocations: 87.89 MB / 0.7197 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4053/0.5754, allocations: 38.33 MB / 0.7571 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.5899, allocations: 9.647 MB / 0.7665 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.5925, allocations: 78.97 kB / 0.7666 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.5945, allocations: 0.6397 MB / 0.7672 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0067/0.6012, allocations: 2.013 MB / 0.7692 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.6052, allocations: 1.221 MB / 0.7704 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006918/0.6121, allocations: 3.482 MB / 0.7738 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.614, allocations: 0.8136 MB / 0.7746 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.6181, allocations: 1.294 MB / 0.7759 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.6205, allocations: 0.9364 MB / 0.7768 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003323/0.6208, allocations: 103.2 kB / 0.7769 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.6237, allocations: 0.7228 MB / 0.7776 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005007/0.6242, allocations: 299.4 kB / 0.7779 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.6254, allocations: 0.5031 MB / 0.7784 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004442/0.6298, allocations: 2.061 MB / 0.7804 GB, free: 244 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.6299, allocations: 1.062 kB / 0.7804 GB, free: 244 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6299, allocations: 0 / 0.7804 GB, free: 244 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.957e-05/0.6299, allocations: 3.938 kB / 0.7804 GB, free: 240 kB / 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.003375/0.6333, allocations: 1.474 MB / 0.7818 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6333, allocations: 9.156 kB / 0.7818 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.087e-05/0.6334, allocations: 23.41 kB / 0.7818 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.6335, allocations: 115.3 kB / 0.782 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004958/0.634, allocations: 145.2 kB / 0.7821 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.6363, allocations: 1.055 MB / 0.7831 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.233e-05/0.6363, allocations: 55.72 kB / 0.7832 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.6364, allocations: 73.77 kB / 0.7833 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.6381, allocations: 0.9405 MB / 0.7842 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.6381, allocations: 1.25 kB / 0.7842 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.6382, allocations: 34.72 kB / 0.7842 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.6382, allocations: 23.59 kB / 0.7842 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.6394, allocations: 0.5647 MB / 0.7848 GB, free: 13.66 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.004591/0.644, allocations: 2.75 MB / 0.7875 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/0.6446, allocations: 244.9 kB / 0.7877 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.645, allocations: 163.8 kB / 0.7879 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.6452, allocations: 62.44 kB / 0.7879 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.6453, allocations: 46.98 kB / 0.788 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.6453, allocations: 0 / 0.788 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001348/0.6466, allocations: 0.5157 MB / 0.7885 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.6467, allocations: 55.66 kB / 0.7885 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.648, allocations: 0.9481 MB / 0.7894 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.6481, allocations: 32.11 kB / 0.7895 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.6486, allocations: 0.4971 MB / 0.79 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.6487, allocations: 119.4 kB / 0.7901 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.6489, allocations: 121.1 kB / 0.7902 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6491, allocations: 333.6 kB / 0.7905 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.6495, allocations: 166.1 kB / 0.7907 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.6501, allocations: 0.4972 MB / 0.7911 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/0.6511, allocations: 0.5096 MB / 0.7916 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.6511, allocations: 2.188 kB / 0.7916 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001432/0.6525, allocations: 0.628 MB / 0.7923 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.6526, allocations: 7.875 kB / 0.7923 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.6526, allocations: 4.906 kB / 0.7923 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.6526, allocations: 7.688 kB / 0.7923 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.6531, allocations: 122.5 kB / 0.7924 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.6531, allocations: 8.469 kB / 0.7924 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.6539, allocations: 92.12 kB / 0.7925 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.654, allocations: 35.33 kB / 0.7925 GB, free: 8.852 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.0005523/0.6546, allocations: 280.3 kB / 0.7928 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.6548, allocations: 103.4 kB / 0.7929 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.6559, allocations: 483.9 kB / 0.7934 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.6559, allocations: 7.438 kB / 0.7934 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6559, allocations: 0 / 0.7934 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000725/0.6566, allocations: 457.5 kB / 0.7938 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.6591, allocations: 1.252 MB / 0.795 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6591, allocations: 0 / 0.795 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.6594, allocations: 80.56 kB / 0.7951 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.6594, allocations: 3.5 kB / 0.7951 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.6594, allocations: 7.312 kB / 0.7951 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6595, allocations: 3.188 kB / 0.7951 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.6595, allocations: 6.281 kB / 0.7951 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.6609, allocations: 0.7737 MB / 0.7959 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.6613, allocations: 162.3 kB / 0.796 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.6615, allocations: 7.469 kB / 0.796 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/0.662, allocations: 27.22 kB / 0.7961 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.6621, allocations: 34.08 kB / 0.7961 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.6621, allocations: 19.61 kB / 0.7961 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001093/0.6632, allocations: 0.6629 MB / 0.7968 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6632, allocations: 1.156 kB / 0.7968 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001369/0.6646, allocations: 342.3 kB / 0.7971 GB, free: 6.094 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.002726/0.6673, allocations: 1.594 MB / 0.7986 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.6684, allocations: 411.6 kB / 0.799 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6684, allocations: 1.375 kB / 0.799 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.6688, allocations: 175.7 kB / 0.7992 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.672, allocations: 0.6231 MB / 0.7998 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.6828, allocations: 6.842 MB / 0.8065 GB, free: 32 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.6833, allocations: 455.1 kB / 0.8069 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009134/0.6842, allocations: 197.6 kB / 0.8071 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.6847, allocations: 379.7 kB / 0.8075 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.6847, allocations: 0 / 0.8075 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06832/0.753, allocations: 32.5 MB / 0.8392 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.09, allocations: 8 kB / 0.8392 GB, free: 1.422 MB / 0.6075 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.88224473502487] Failed to read output from testmodel.py, exit status != 0: 14.27782230405137 14.304210026 13.66852874 Calling exit ...