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.001382/0.001382, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001575/0.001575, allocations: 214.3 kB / 22.25 MB, free: 5.082 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 8.023 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.00246/0.00246, allocations: 294.9 kB / 312.7 MB, free: 2.816 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.196/1.196, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",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.002863/0.002863, allocations: 109 kB / 0.7396 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1793, allocations: 95.39 MB / 0.8327 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09279/0.2721, allocations: 78.76 MB / 0.9097 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02967/0.3017, allocations: 18.96 MB / 0.9282 GB, free: 6.625 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.3055, allocations: 154.7 kB / 0.9283 GB, free: 6.473 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004016/0.3095, allocations: 1.304 MB / 0.9296 GB, free: 5.16 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.3206, allocations: 3.896 MB / 0.9334 GB, free: 1.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005918/0.3265, allocations: 2.201 MB / 0.9355 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01062/0.3371, allocations: 6.841 MB / 0.9422 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003042/0.3401, allocations: 1.603 MB / 0.9438 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006273/0.3464, allocations: 2.411 MB / 0.9461 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.3501, allocations: 1.863 MB / 0.948 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007059/0.3508, allocations: 200 kB / 0.9482 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/0.3556, allocations: 1.774 MB / 0.9499 GB, free: 308 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008979/0.3565, allocations: 0.5641 MB / 0.9504 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.3587, allocations: 1.248 MB / 0.9517 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006813/0.3655, allocations: 3.85 MB / 0.9554 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3655, allocations: 0 / 0.9554 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3655, allocations: 3.938 kB / 0.9554 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.898e-05/0.3655, allocations: 0 / 0.9554 GB, free: 10.61 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.004628/0.3701, allocations: 2.706 MB / 0.9581 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3702, allocations: 9.344 kB / 0.9581 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002461/0.3704, allocations: 206.8 kB / 0.9583 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.3711, allocations: 279.3 kB / 0.9585 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.3746, allocations: 1.971 MB / 0.9605 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/0.3747, allocations: 102.7 kB / 0.9606 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.3749, allocations: 140 kB / 0.9607 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.3776, allocations: 1.528 MB / 0.9622 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.3776, allocations: 3.953 kB / 0.9622 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.3777, allocations: 60 kB / 0.9622 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/0.3778, allocations: 40 kB / 0.9623 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.38, allocations: 1.122 MB / 0.9634 GB, free: 2.281 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.009231/0.3892, allocations: 7.521 MB / 0.9707 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000998/0.3902, allocations: 452.2 kB / 0.9712 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.3908, allocations: 311.2 kB / 0.9715 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004104/0.3912, allocations: 108.4 kB / 0.9716 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.3913, allocations: 47.09 kB / 0.9716 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.184e-06/0.3913, allocations: 0 / 0.9716 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002425/0.3937, allocations: 0.9682 MB / 0.9725 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3938, allocations: 55.91 kB / 0.9726 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.3962, allocations: 1.799 MB / 0.9744 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.3963, allocations: 41.69 kB / 0.9744 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009153/0.3972, allocations: 0.9451 MB / 0.9753 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.3975, allocations: 226 kB / 0.9755 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/0.3978, allocations: 230.8 kB / 0.9758 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.398, allocations: 349.9 kB / 0.9761 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006774/0.3986, allocations: 330.4 kB / 0.9764 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.3996, allocations: 0.6938 MB / 0.9771 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.4014, allocations: 1.005 MB / 0.9781 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4014, allocations: 4 kB / 0.9781 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002358/0.4037, allocations: 1.234 MB / 0.9793 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4038, allocations: 8 kB / 0.9793 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4038, allocations: 15.94 kB / 0.9793 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/0.4038, allocations: 16 kB / 0.9793 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4048, allocations: 295.9 kB / 0.9796 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.4048, allocations: 19.94 kB / 0.9796 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.406, allocations: 166.9 kB / 0.9798 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/0.406, allocations: 51.98 kB / 0.9798 GB, free: 476 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.000727/0.4068, allocations: 446 kB / 0.9802 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3553/0.7621, allocations: 200.4 kB / 0.9804 GB, free: 142.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.7642, allocations: 0.8743 MB / 0.9813 GB, free: 142.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.7642, allocations: 7.75 kB / 0.9813 GB, free: 142.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.7642, allocations: 1.297 kB / 0.9813 GB, free: 142.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001355/0.7656, allocations: 0.8065 MB / 0.9821 GB, free: 142 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.7706, allocations: 2.428 MB / 0.9845 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.7706, allocations: 2.719 kB / 0.9845 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007802/0.7714, allocations: 179.9 kB / 0.9846 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.7714, allocations: 8.469 kB / 0.9846 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.7714, allocations: 17.8 kB / 0.9847 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.447e-05/0.7714, allocations: 5.438 kB / 0.9847 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7714, allocations: 4.156 kB / 0.9847 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.7742, allocations: 1.367 MB / 0.986 GB, free: 140.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008027/0.775, allocations: 299.8 kB / 0.9863 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.7753, allocations: 14.94 kB / 0.9863 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/0.7762, allocations: 66.27 kB / 0.9864 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.7763, allocations: 53.72 kB / 0.9864 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.7764, allocations: 33.5 kB / 0.9865 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001757/0.7782, allocations: 1.248 MB / 0.9877 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7782, allocations: 0 / 0.9877 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001786/0.7799, allocations: 0.6656 MB / 0.9883 GB, free: 140 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.003385/0.7833, allocations: 2.391 MB / 0.9907 GB, free: 138.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.7852, allocations: 0.7888 MB / 0.9914 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.7852, allocations: 0.7812 kB / 0.9914 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008007/0.786, allocations: 340.3 kB / 0.9917 GB, free: 138.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005908/0.7919, allocations: 1.195 MB / 0.9929 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/0.811, allocations: 12.66 MB / 1.005 GB, free: 132.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.8117, allocations: 1.409 MB / 1.007 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001602/0.8133, allocations: 381.7 kB / 1.007 GB, free: 131.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/0.814, allocations: 0.7635 MB / 1.008 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/0.814, allocations: 0 / 1.008 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09569/0.9097, allocations: 58.57 MB / 1.065 GB, free: 75.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.37, allocations: 10.89 kB / 1.065 GB, free: 75.22 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: 19.557856346014887] Failed to read output from testmodel.py, exit status != 0: 15.51978490804322 15.528951137 15.16118563 Calling exit ...