Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.001273/0.001273, allocations: 98.08 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: 219.4 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002535/0.002535, allocations: 275.9 kB / 313.5 MB, free: 2.824 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.228/1.228, allocations: 180.6 MB / 0.5377 GB, free: 12.93 MB / 382.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.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.002723/0.002723, allocations: 99.12 kB / 0.7404 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1772, allocations: 95.38 MB / 0.8335 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0834/0.2606, allocations: 78.77 MB / 0.9104 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02671/0.2873, allocations: 18.95 MB / 0.9289 GB, free: 6.551 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00362/0.2909, allocations: 154.7 kB / 0.9291 GB, free: 6.398 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003711/0.2946, allocations: 1.301 MB / 0.9304 GB, free: 5.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.3052, allocations: 3.899 MB / 0.9342 GB, free: 1.176 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005864/0.311, allocations: 2.195 MB / 0.9363 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01081/0.3219, allocations: 6.856 MB / 0.943 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003176/0.325, allocations: 1.595 MB / 0.9446 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.3306, allocations: 2.419 MB / 0.9469 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.334, allocations: 1.867 MB / 0.9487 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005987/0.3346, allocations: 200 kB / 0.9489 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/0.339, allocations: 1.77 MB / 0.9507 GB, free: 228 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008676/0.3399, allocations: 0.5679 MB / 0.9512 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002292/0.3422, allocations: 1.248 MB / 0.9524 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007161/0.3493, allocations: 3.842 MB / 0.9562 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3493, allocations: 0 / 0.9562 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3493, allocations: 0 / 0.9562 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.585e-05/0.3494, allocations: 3.938 kB / 0.9562 GB, free: 10.54 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005479/0.3549, allocations: 2.711 MB / 0.9588 GB, free: 7.777 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3549, allocations: 13.34 kB / 0.9589 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.834e-05/0.355, allocations: 38.89 kB / 0.9589 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002811/0.3553, allocations: 202.8 kB / 0.9591 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007802/0.3561, allocations: 279.1 kB / 0.9594 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/0.3597, allocations: 1.953 MB / 0.9613 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/0.3598, allocations: 106.7 kB / 0.9614 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.36, allocations: 140 kB / 0.9615 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.3628, allocations: 1.528 MB / 0.963 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.3628, allocations: 3.953 kB / 0.963 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.363, allocations: 60 kB / 0.963 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.363, allocations: 39.98 kB / 0.9631 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.3654, allocations: 1.13 MB / 0.9642 GB, free: 2.164 MB / 0.7012 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.009665/0.375, allocations: 7.518 MB / 0.9715 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.3761, allocations: 448.2 kB / 0.972 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.3768, allocations: 311.2 kB / 0.9723 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.3772, allocations: 104.4 kB / 0.9724 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.3772, allocations: 43.09 kB / 0.9724 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.334e-06/0.3772, allocations: 0 / 0.9724 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002441/0.3797, allocations: 0.9721 MB / 0.9733 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.3797, allocations: 59.91 kB / 0.9734 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.3825, allocations: 1.799 MB / 0.9752 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.3826, allocations: 41.7 kB / 0.9752 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008862/0.3835, allocations: 0.949 MB / 0.9761 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.3837, allocations: 226.1 kB / 0.9763 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.3841, allocations: 226.8 kB / 0.9766 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3843, allocations: 353.8 kB / 0.9769 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/0.385, allocations: 338.4 kB / 0.9772 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.3861, allocations: 0.686 MB / 0.9779 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.388, allocations: 1.017 MB / 0.9789 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.388, allocations: 0 / 0.9789 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002586/0.3906, allocations: 1.226 MB / 0.9801 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.3906, allocations: 11.06 kB / 0.9801 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.3907, allocations: 12 kB / 0.9801 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/0.3907, allocations: 20 kB / 0.9801 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.3917, allocations: 291.5 kB / 0.9804 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.57e-05/0.3918, allocations: 23.92 kB / 0.9804 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3931, allocations: 166.9 kB / 0.9806 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/0.3932, allocations: 52 kB / 0.9806 GB, free: 360 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.3443/0.7375, allocations: 439.5 kB / 0.981 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000613/0.7381, allocations: 202 kB / 0.9812 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.7401, allocations: 0.8683 MB / 0.9821 GB, free: 141.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.7401, allocations: 11.73 kB / 0.9821 GB, free: 141.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7401, allocations: 0.7031 kB / 0.9821 GB, free: 141.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001327/0.7415, allocations: 0.8086 MB / 0.9829 GB, free: 141.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.7457, allocations: 2.435 MB / 0.9853 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.7457, allocations: 1.75 kB / 0.9853 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008268/0.7465, allocations: 177.9 kB / 0.9854 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.7465, allocations: 9 kB / 0.9854 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.7466, allocations: 17.58 kB / 0.9855 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.7466, allocations: 5.031 kB / 0.9855 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7466, allocations: 6.5 kB / 0.9855 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.7491, allocations: 1.362 MB / 0.9868 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/0.7498, allocations: 299.4 kB / 0.9871 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.75, allocations: 14.67 kB / 0.9871 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/0.7509, allocations: 64.33 kB / 0.9872 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.751, allocations: 58.83 kB / 0.9872 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/0.7511, allocations: 34.47 kB / 0.9873 GB, free: 140 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001577/0.7527, allocations: 1.245 MB / 0.9885 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7527, allocations: 0 / 0.9885 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001595/0.7543, allocations: 0.6631 MB / 0.9891 GB, free: 139.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003474/0.7578, allocations: 2.391 MB / 0.9915 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001962/0.7597, allocations: 0.7829 MB / 0.9922 GB, free: 138 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.7597, allocations: 1 kB / 0.9922 GB, free: 138 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.7605, allocations: 338.6 kB / 0.9925 GB, free: 137.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00603/0.7665, allocations: 1.208 MB / 0.9937 GB, free: 137.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.787, allocations: 12.66 MB / 1.006 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.7877, allocations: 1.403 MB / 1.007 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001634/0.7893, allocations: 377.9 kB / 1.008 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/0.7901, allocations: 0.7605 MB / 1.009 GB, free: 130 MB / 0.7169 GB Notification: Performance of SimCode: time 1.283e-06/0.7901, allocations: 6.781 kB / 1.009 GB, free: 130 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0925/0.8826, allocations: 58.61 MB / 1.066 GB, free: 74.69 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.69, allocations: 4.062 kB / 1.066 GB, free: 74.68 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.02133912499994] Failed to read output from testmodel.py, exit status != 0: 15.884362461976707 15.894938562 15.543145597 Calling exit ...