Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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.001336/0.001336, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.001325/0.001325, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.376/1.376, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.1 MB / 0.7171 GB, free: 4.133 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.89 kB / 1.027 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8041, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07725/0.8814, allocations: 77.19 MB / 1.25 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02955/0.911, allocations: 18.87 MB / 1.269 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004073/0.9151, allocations: 113.6 kB / 1.269 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.9191, allocations: 1.245 MB / 1.27 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.93, allocations: 3.634 MB / 1.273 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.9362, allocations: 2.086 MB / 1.275 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01066/0.9469, allocations: 6.68 MB / 1.282 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003945/0.9508, allocations: 2.094 MB / 1.284 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005954/0.9568, allocations: 2.307 MB / 1.286 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.9603, allocations: 1.762 MB / 1.288 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008204/0.9612, allocations: 200 kB / 1.288 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005283/0.9665, allocations: 1.618 MB / 1.29 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009399/0.9674, allocations: 0.541 MB / 1.29 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.97, allocations: 1.252 MB / 1.291 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00766/0.9776, allocations: 3.741 MB / 1.295 GB, free: 13.4 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.9777, allocations: 0 / 1.295 GB, free: 13.4 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9777, allocations: 0 / 1.295 GB, free: 13.4 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.093e-05/0.9778, allocations: 0 / 1.295 GB, free: 13.4 MB / 1.014 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.005285/0.9831, allocations: 2.786 MB / 1.298 GB, free: 10.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.9831, allocations: 12.62 kB / 1.298 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/0.9834, allocations: 206.8 kB / 1.298 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000779/0.9842, allocations: 279.3 kB / 1.298 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003602/0.9878, allocations: 2.039 MB / 1.3 GB, free: 7.961 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/0.9879, allocations: 102.7 kB / 1.3 GB, free: 7.859 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.9881, allocations: 148 kB / 1.301 GB, free: 7.715 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/0.991, allocations: 1.52 MB / 1.302 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.991, allocations: 3.938 kB / 1.302 GB, free: 6.113 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.9912, allocations: 60 kB / 1.302 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/0.9912, allocations: 39.98 kB / 1.302 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.9935, allocations: 1.122 MB / 1.303 GB, free: 4.887 MB / 1.014 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.009235/1.003, allocations: 7.616 MB / 1.311 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/1.004, allocations: 484.5 kB / 1.311 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/1.004, allocations: 335.6 kB / 1.311 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009474/1.005, allocations: 1.148 MB / 1.313 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/1.005, allocations: 47.12 kB / 1.313 GB, free: 10.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=59): time 2.555e-06/1.005, allocations: 0 / 1.313 GB, free: 10.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=59): time 0.002398/1.008, allocations: 0.974 MB / 1.314 GB, free: 9.445 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.008, allocations: 55.97 kB / 1.314 GB, free: 9.379 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/1.01, allocations: 1.787 MB / 1.315 GB, free: 7.555 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.52e-05/1.01, allocations: 41.7 kB / 1.315 GB, free: 7.508 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008639/1.011, allocations: 0.9451 MB / 1.316 GB, free: 6.555 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.012, allocations: 226.1 kB / 1.317 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/1.012, allocations: 238.7 kB / 1.317 GB, free: 6.094 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.012, allocations: 345.9 kB / 1.317 GB, free: 5.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/1.013, allocations: 330.4 kB / 1.317 GB, free: 5.426 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.014, allocations: 0.686 MB / 1.318 GB, free: 4.586 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.016, allocations: 1.012 MB / 1.319 GB, free: 3.434 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1.016, allocations: 4 kB / 1.319 GB, free: 3.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002514/1.018, allocations: 1.227 MB / 1.32 GB, free: 2.195 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.018, allocations: 8 kB / 1.32 GB, free: 2.188 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.018, allocations: 12 kB / 1.32 GB, free: 2.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/1.018, allocations: 16 kB / 1.32 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.019, allocations: 295.9 kB / 1.321 GB, free: 1.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.883e-05/1.019, allocations: 19.94 kB / 1.321 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.021, allocations: 166.8 kB / 1.321 GB, free: 1.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.958e-05/1.021, allocations: 55.98 kB / 1.321 GB, free: 1.633 MB / 1.029 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.0007305/1.021, allocations: 437.3 kB / 1.321 GB, free: 1.195 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/1.022, allocations: 206.7 kB / 1.321 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/1.024, allocations: 0.8683 MB / 1.322 GB, free: 116 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.024, allocations: 7.984 kB / 1.322 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.024, allocations: 4 kB / 1.322 GB, free: 104 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001424/1.025, allocations: 0.7956 MB / 1.323 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/1.029, allocations: 2.455 MB / 1.325 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/1.029, allocations: 4 kB / 1.325 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/1.03, allocations: 180 kB / 1.326 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/1.03, allocations: 4 kB / 1.326 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/1.03, allocations: 16 kB / 1.326 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/1.03, allocations: 4 kB / 1.326 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.03, allocations: 4 kB / 1.326 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/1.033, allocations: 1.349 MB / 1.327 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/1.033, allocations: 379.5 kB / 1.327 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/1.034, allocations: 16 kB / 1.327 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009402/1.035, allocations: 67.84 kB / 1.327 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.035, allocations: 52.44 kB / 1.327 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.927e-05/1.035, allocations: 39.97 kB / 1.328 GB, free: 10.55 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001807/1.037, allocations: 1.239 MB / 1.329 GB, free: 9.297 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.41e-07/1.037, allocations: 0 / 1.329 GB, free: 9.297 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001798/1.038, allocations: 0.6587 MB / 1.329 GB, free: 8.637 MB / 1.045 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.004178/1.043, allocations: 2.407 MB / 1.332 GB, free: 6.191 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001847/1.045, allocations: 0.8163 MB / 1.333 GB, free: 5.375 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.045, allocations: 4.312 kB / 1.333 GB, free: 5.371 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/1.045, allocations: 350.9 kB / 1.333 GB, free: 5.031 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/1.051, allocations: 1.196 MB / 1.334 GB, free: 3.863 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.071, allocations: 12.63 MB / 1.346 GB, free: 6.707 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/1.073, allocations: 1.409 MB / 1.348 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001472/1.074, allocations: 379.8 kB / 1.348 GB, free: 4.895 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.075, allocations: 0.7687 MB / 1.349 GB, free: 4.125 MB / 1.061 GB Notification: Performance of SimCode: time 8.22e-07/1.075, allocations: 0 / 1.349 GB, free: 4.125 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.187, allocations: 57.61 MB / 1.405 GB, free: 11.04 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.22, allocations: 10.17 kB / 1.405 GB, free: 11.03 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.876544712809846] Failed to read output from testmodel.py, exit status != 0: 13.324404184008017 13.351613582 12.36887408 Calling exit ...