Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001516/0.001516, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001717/0.001717, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.412/1.412, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002319/0.002319, allocations: 283.2 kB / 309.8 MB, free: 3.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.035/1.035, allocations: 180.6 MB / 0.5337 GB, free: 12.4 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002828/0.002828, allocations: 103.8 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5559, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0493/0.6052, allocations: 42.06 MB / 0.8689 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.623, allocations: 10.42 MB / 0.879 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003795/0.6268, allocations: 79.69 kB / 0.8791 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.6293, allocations: 0.6733 MB / 0.8798 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006535/0.6358, allocations: 1.969 MB / 0.8817 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.6394, allocations: 1.195 MB / 0.8829 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005588/0.645, allocations: 3.401 MB / 0.8862 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.6467, allocations: 0.8638 MB / 0.887 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.6505, allocations: 1.283 MB / 0.8883 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.6526, allocations: 0.9326 MB / 0.8892 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004067/0.653, allocations: 101 kB / 0.8893 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.656, allocations: 0.9184 MB / 0.8902 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.6566, allocations: 292.8 kB / 0.8905 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.6584, allocations: 0.6348 MB / 0.8911 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.6642, allocations: 1.98 MB / 0.893 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.6642, allocations: 1.25 kB / 0.893 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6642, allocations: 0 / 0.893 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.11e-05/0.6643, allocations: 0 / 0.893 GB, free: 3.219 MB / 0.6231 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.004485/0.6688, allocations: 1.555 MB / 0.8945 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.6688, allocations: 10.31 kB / 0.8945 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.638e-05/0.6689, allocations: 23.06 kB / 0.8946 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.6691, allocations: 117.9 kB / 0.8947 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005961/0.6697, allocations: 141.8 kB / 0.8948 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.6721, allocations: 1.112 MB / 0.8959 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.6722, allocations: 55.41 kB / 0.896 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.6723, allocations: 75.8 kB / 0.896 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.6741, allocations: 0.7922 MB / 0.8968 GB, free: 400 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.6741, allocations: 9.062 kB / 0.8968 GB, free: 392 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.6742, allocations: 31.44 kB / 0.8968 GB, free: 368 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.6742, allocations: 18.16 kB / 0.8969 GB, free: 368 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.6755, allocations: 0.5722 MB / 0.8974 GB, free: 76 kB / 0.6231 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.005247/0.6807, allocations: 3.548 MB / 0.9009 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.6814, allocations: 249.1 kB / 0.9011 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.6817, allocations: 159.7 kB / 0.9013 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/0.6824, allocations: 0.6626 MB / 0.9019 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.6824, allocations: 36 kB / 0.9019 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.6824, allocations: 1.594 kB / 0.9019 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.00157/0.684, allocations: 0.5247 MB / 0.9025 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.684, allocations: 55.34 kB / 0.9025 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.6856, allocations: 0.9487 MB / 0.9034 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.811e-05/0.6857, allocations: 32.55 kB / 0.9035 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.6862, allocations: 0.4966 MB / 0.904 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.6863, allocations: 122.4 kB / 0.9041 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.6866, allocations: 112.3 kB / 0.9042 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6867, allocations: 330.6 kB / 0.9045 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.6871, allocations: 165.7 kB / 0.9047 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.6877, allocations: 355.1 kB / 0.905 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/0.6887, allocations: 0.513 MB / 0.9055 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.6887, allocations: 6.219 kB / 0.9055 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001651/0.6904, allocations: 0.6151 MB / 0.9061 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.6904, allocations: 11.5 kB / 0.9061 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.6904, allocations: 5.219 kB / 0.9061 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/0.6904, allocations: 8.094 kB / 0.9061 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.6909, allocations: 125.9 kB / 0.9062 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.6909, allocations: 11.94 kB / 0.9063 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009767/0.6919, allocations: 91.34 kB / 0.9063 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.692, allocations: 24 kB / 0.9064 GB, free: 8.789 MB / 0.6387 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.0005428/0.6925, allocations: 277.7 kB / 0.9066 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.6929, allocations: 103.3 kB / 0.9067 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.694, allocations: 0.4883 MB / 0.9072 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.6941, allocations: 7.938 kB / 0.9072 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.6941, allocations: 4 kB / 0.9072 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007898/0.6948, allocations: 453.4 kB / 0.9076 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.6978, allocations: 1.359 MB / 0.909 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.6978, allocations: 3.938 kB / 0.909 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.6982, allocations: 75.88 kB / 0.9091 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.6982, allocations: 4 kB / 0.9091 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.6982, allocations: 8 kB / 0.9091 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.6982, allocations: 4.156 kB / 0.9091 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6982, allocations: 4 kB / 0.9091 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.6998, allocations: 0.7677 MB / 0.9098 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.7003, allocations: 236.2 kB / 0.91 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.7006, allocations: 11.98 kB / 0.9101 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.7013, allocations: 23.97 kB / 0.9101 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.7013, allocations: 28.03 kB / 0.9101 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.7014, allocations: 23.98 kB / 0.9101 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001108/0.7025, allocations: 0.6588 MB / 0.9108 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7025, allocations: 0 / 0.9108 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0014/0.7039, allocations: 339.3 kB / 0.9111 GB, free: 3.77 MB / 0.6387 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.002688/0.7066, allocations: 1.595 MB / 0.9127 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.7076, allocations: 401.6 kB / 0.913 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7076, allocations: 4.062 kB / 0.913 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.708, allocations: 177 kB / 0.9132 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.7113, allocations: 0.6085 MB / 0.9138 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.7232, allocations: 6.854 MB / 0.9205 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.724, allocations: 1.04 MB / 0.9215 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008453/0.7248, allocations: 202.8 kB / 0.9217 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/0.7254, allocations: 371.3 kB / 0.9221 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of SimCode: time 1.153e-06/0.7254, allocations: 0 / 0.9221 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/0.7933, allocations: 29.87 MB / 0.9512 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.976/10.77, allocations: 3.984 kB / 0.9512 GB, free: 10.8 MB / 0.6856 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.764631786965765] Failed to read output from testmodel.py, exit status != 0: 10.924164883967023 10.938445984 10.270955294 Calling exit ...