Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 193 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 69.45 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2694, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04353/0.313, allocations: 41.57 MB / 0.8241 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01515/0.3282, allocations: 10.32 MB / 0.8341 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.3301, allocations: 51.69 kB / 0.8342 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.3319, allocations: 0.6404 MB / 0.8348 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.3369, allocations: 1.869 MB / 0.8366 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.3399, allocations: 1.186 MB / 0.8378 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004537/0.3444, allocations: 3.387 MB / 0.8411 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.3461, allocations: 1.056 MB / 0.8421 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.3495, allocations: 1.224 MB / 0.8433 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.3507, allocations: 0.8789 MB / 0.8442 GB, free: 15 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.3509, allocations: 104 kB / 0.8443 GB, free: 14.9 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.3532, allocations: 0.8539 MB / 0.8451 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.3535, allocations: 290.9 kB / 0.8454 GB, free: 13.76 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007394/0.3543, allocations: 0.626 MB / 0.846 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.3571, allocations: 1.901 MB / 0.8479 GB, free: 11.22 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3571, allocations: 4 kB / 0.8479 GB, free: 11.22 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3571, allocations: 4 kB / 0.8479 GB, free: 11.21 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.301e-05/0.3571, allocations: 0 / 0.8479 GB, free: 11.21 MB / 0.67 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.002507/0.3596, allocations: 1.507 MB / 0.8494 GB, free: 9.656 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3597, allocations: 8.031 kB / 0.8494 GB, free: 9.648 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.3598, allocations: 122.7 kB / 0.8495 GB, free: 9.52 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.3602, allocations: 131.5 kB / 0.8496 GB, free: 9.391 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.3618, allocations: 1.033 MB / 0.8506 GB, free: 8.312 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.3618, allocations: 58 kB / 0.8507 GB, free: 8.258 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.362, allocations: 71.91 kB / 0.8507 GB, free: 8.188 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3633, allocations: 0.7944 MB / 0.8515 GB, free: 7.355 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.3633, allocations: 3.984 kB / 0.8515 GB, free: 7.352 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.3634, allocations: 32 kB / 0.8515 GB, free: 7.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.3634, allocations: 16 kB / 0.8516 GB, free: 7.305 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.3645, allocations: 0.5711 MB / 0.8521 GB, free: 6.734 MB / 0.67 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.004231/0.3688, allocations: 3.567 MB / 0.8556 GB, free: 2.938 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.3694, allocations: 260.8 kB / 0.8558 GB, free: 2.676 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.3697, allocations: 180.7 kB / 0.856 GB, free: 2.496 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/0.3704, allocations: 0.6609 MB / 0.8567 GB, free: 1.688 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3704, allocations: 34.56 kB / 0.8567 GB, free: 1.645 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.3704, allocations: 0 / 0.8567 GB, free: 1.645 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.00123/0.3717, allocations: 0.5178 MB / 0.8572 GB, free: 1.121 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3717, allocations: 59.39 kB / 0.8573 GB, free: 1.051 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3729, allocations: 0.9371 MB / 0.8582 GB, free: 96 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.3729, allocations: 33.7 kB / 0.8582 GB, free: 56 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.3733, allocations: 495.6 kB / 0.8587 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3734, allocations: 118.4 kB / 0.8588 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.3736, allocations: 118 kB / 0.8589 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3738, allocations: 333.9 kB / 0.8592 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.3741, allocations: 161 kB / 0.8594 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.3747, allocations: 351.5 kB / 0.8597 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.3756, allocations: 0.5225 MB / 0.8602 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3756, allocations: 4 kB / 0.8602 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001164/0.3768, allocations: 0.6055 MB / 0.8608 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3768, allocations: 8 kB / 0.8608 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3768, allocations: 7.984 kB / 0.8608 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.3769, allocations: 11.94 kB / 0.8608 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.3773, allocations: 128.3 kB / 0.861 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.3773, allocations: 11.94 kB / 0.861 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.378, allocations: 83.19 kB / 0.8611 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/0.378, allocations: 31.98 kB / 0.8611 GB, free: 12.93 MB / 0.6856 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.0003868/0.3784, allocations: 270.8 kB / 0.8613 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.3786, allocations: 102.8 kB / 0.8614 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.3796, allocations: 488.1 kB / 0.8619 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.3797, allocations: 4 kB / 0.8619 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3797, allocations: 0 / 0.8619 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007244/0.3804, allocations: 456.8 kB / 0.8624 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.3824, allocations: 1.362 MB / 0.8637 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3824, allocations: 0 / 0.8637 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.3828, allocations: 79.81 kB / 0.8638 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3828, allocations: 4 kB / 0.8638 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.3828, allocations: 8 kB / 0.8638 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3828, allocations: 7.938 kB / 0.8638 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3828, allocations: 0 / 0.8638 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.3843, allocations: 0.7734 MB / 0.8645 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.3846, allocations: 231.7 kB / 0.8648 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.3847, allocations: 12 kB / 0.8648 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.3852, allocations: 23.97 kB / 0.8648 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.3853, allocations: 23.97 kB / 0.8648 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.3853, allocations: 19.98 kB / 0.8648 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008569/0.3862, allocations: 0.6587 MB / 0.8655 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3862, allocations: 0 / 0.8655 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009974/0.3872, allocations: 339.4 kB / 0.8658 GB, free: 7.934 MB / 0.6856 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.002326/0.3895, allocations: 1.594 MB / 0.8674 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009934/0.3905, allocations: 452.4 kB / 0.8678 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3905, allocations: 384 / 0.8678 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.3909, allocations: 191.8 kB / 0.868 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/0.3936, allocations: 0.6144 MB / 0.8686 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.4036, allocations: 7.18 MB / 0.8756 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/0.4045, allocations: 1.028 MB / 0.8766 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001012/0.4055, allocations: 207.6 kB / 0.8768 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.4061, allocations: 371.3 kB / 0.8771 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of SimCode: time 1.623e-06/0.4061, allocations: 0 / 0.8771 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06495/0.471, allocations: 29.56 MB / 0.906 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.394, allocations: 18.14 kB / 0.906 GB, free: 14.73 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)