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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002445/0.002445, allocations: 295.4 kB / 303 MB, free: 9.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.194/1.194, allocations: 180.9 MB / 0.5261 GB, free: 14.73 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 102.9 kB / 0.7248 GB, free: 40.05 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1741, allocations: 94.15 MB / 0.8167 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08015/0.2543, allocations: 77.72 MB / 0.8926 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02853/0.2828, allocations: 18.9 MB / 0.9111 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004111/0.2869, allocations: 111.3 kB / 0.9112 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.2908, allocations: 1.297 MB / 0.9125 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.3011, allocations: 3.822 MB / 0.9162 GB, free: 15.36 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00541/0.3065, allocations: 2.099 MB / 0.9182 GB, free: 13.28 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009852/0.3164, allocations: 6.689 MB / 0.9248 GB, free: 6.578 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.3195, allocations: 1.7 MB / 0.9264 GB, free: 4.832 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006135/0.3256, allocations: 2.374 MB / 0.9287 GB, free: 2.461 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.3293, allocations: 1.855 MB / 0.9306 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006262/0.33, allocations: 200 kB / 0.9307 GB, free: 416 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/0.3346, allocations: 1.669 MB / 0.9324 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007682/0.3354, allocations: 0.5757 MB / 0.9329 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.3376, allocations: 1.252 MB / 0.9342 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007081/0.3447, allocations: 3.749 MB / 0.9378 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3447, allocations: 0 / 0.9378 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3447, allocations: 0 / 0.9378 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.667e-05/0.3448, allocations: 0 / 0.9378 GB, free: 9.137 MB / 0.6856 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.005835/0.3506, allocations: 2.794 MB / 0.9406 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3507, allocations: 8.031 kB / 0.9406 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002431/0.3509, allocations: 198.8 kB / 0.9408 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007837/0.3517, allocations: 283.3 kB / 0.941 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003754/0.3554, allocations: 2.036 MB / 0.943 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.684e-05/0.3555, allocations: 106.7 kB / 0.9431 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.3558, allocations: 148 kB / 0.9433 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.3584, allocations: 1.512 MB / 0.9447 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.3585, allocations: 15.94 kB / 0.9447 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.3586, allocations: 52 kB / 0.9448 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.3587, allocations: 40 kB / 0.9448 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.3609, allocations: 1.126 MB / 0.9459 GB, free: 0.6211 MB / 0.6856 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.009381/0.3703, allocations: 7.628 MB / 0.9534 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.3713, allocations: 445.2 kB / 0.9538 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/0.3719, allocations: 314.2 kB / 0.9541 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009563/0.3729, allocations: 1.152 MB / 0.9552 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.3729, allocations: 43.12 kB / 0.9553 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=59): time 2.825e-06/0.3729, allocations: 0 / 0.9553 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=59): time 0.002291/0.3752, allocations: 0.9779 MB / 0.9562 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.3753, allocations: 55.97 kB / 0.9563 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.3776, allocations: 1.791 MB / 0.958 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/0.3776, allocations: 41.7 kB / 0.9581 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008163/0.3784, allocations: 0.9373 MB / 0.959 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.3787, allocations: 230 kB / 0.9592 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.379, allocations: 226.8 kB / 0.9594 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3791, allocations: 357.9 kB / 0.9598 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006773/0.3798, allocations: 330.4 kB / 0.9601 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009869/0.3808, allocations: 0.6821 MB / 0.9607 GB, free: 368 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.3824, allocations: 1.012 MB / 0.9617 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3824, allocations: 4 kB / 0.9617 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002211/0.3846, allocations: 1.227 MB / 0.9629 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.3847, allocations: 8 kB / 0.9629 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.3847, allocations: 12 kB / 0.963 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.3847, allocations: 19.98 kB / 0.963 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.3857, allocations: 287.6 kB / 0.9632 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.76e-05/0.3857, allocations: 20.09 kB / 0.9633 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.3867, allocations: 166.9 kB / 0.9634 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.3868, allocations: 51.98 kB / 0.9635 GB, free: 13.42 MB / 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.0006605/0.3875, allocations: 445.3 kB / 0.9639 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.3878, allocations: 206.7 kB / 0.9641 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.3895, allocations: 0.8629 MB / 0.9649 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.3895, allocations: 4 kB / 0.9649 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3895, allocations: 4 kB / 0.9649 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001326/0.3909, allocations: 0.7956 MB / 0.9657 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/0.3948, allocations: 2.451 MB / 0.9681 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.3949, allocations: 4 kB / 0.9681 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.3956, allocations: 188 kB / 0.9683 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.3956, allocations: 8 kB / 0.9683 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.3957, allocations: 12 kB / 0.9683 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/0.3957, allocations: 7.984 kB / 0.9683 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3957, allocations: 4 kB / 0.9683 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.3981, allocations: 1.349 MB / 0.9696 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/0.3987, allocations: 379.5 kB / 0.97 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.399, allocations: 15.98 kB / 0.97 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009424/0.3999, allocations: 59.92 kB / 0.9701 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4001, allocations: 52.44 kB / 0.9701 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.4001, allocations: 39.97 kB / 0.9702 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001831/0.402, allocations: 1.243 MB / 0.9714 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.402, allocations: 0 / 0.9714 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001787/0.4038, allocations: 0.6626 MB / 0.972 GB, free: 4.414 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.004041/0.4078, allocations: 2.398 MB / 0.9744 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.4096, allocations: 0.7882 MB / 0.9751 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4096, allocations: 0 / 0.9751 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000706/0.4103, allocations: 340.4 kB / 0.9755 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00516/0.4154, allocations: 1.189 MB / 0.9766 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/0.4383, allocations: 12.63 MB / 0.989 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.4395, allocations: 1.409 MB / 0.9903 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001603/0.4411, allocations: 383 kB / 0.9907 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.4422, allocations: 0.7684 MB / 0.9915 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of SimCode: time 1.153e-06/0.4423, allocations: 0 / 0.9915 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4649/0.9071, allocations: 57.88 MB / 1.048 GB, free: 157.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.1, allocations: 11.56 kB / 1.048 GB, free: 157.7 MB / 0.7481 GB " [Timeout remaining time 647] (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: 17.24514589132741] Failed to read output from testmodel.py, exit status != 0: 13.202180920168757 13.211301893 12.864447508 Calling exit ...