Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7815/0.7815, allocations: 127.4 MB / 134.9 MB, free: 3.453 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001694/0.001695, allocations: 187.5 kB / 164.6 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 90.45 kB / 476.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.599e-05, allocations: 5.219 kB / 0.5467 GB, free: 95.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1951, allocations: 76.78 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9273/1.122, allocations: 367.4 MB / 0.9804 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.123, allocations: 91.64 kB / 0.9805 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.753/2.876, allocations: 417.4 MB / 1.388 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.824e-06/2.876, allocations: 3.219 kB / 1.388 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001012/2.876, allocations: 27.75 kB / 1.388 GB, free: 123.2 MB / 0.6511 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.002205/2.878, allocations: 1.24 MB / 1.389 GB, free: 122 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/2.878, allocations: 8.031 kB / 1.389 GB, free: 122 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/2.878, allocations: 130.6 kB / 1.39 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04048/2.919, allocations: 22.43 MB / 1.411 GB, free: 99.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/2.919, allocations: 24 kB / 1.411 GB, free: 99.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/2.919, allocations: 47.84 kB / 1.412 GB, free: 99.72 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008178/2.92, allocations: 447.9 kB / 1.412 GB, free: 99.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/2.921, allocations: 0.6111 MB / 1.413 GB, free: 98.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/2.921, allocations: 3.812 kB / 1.413 GB, free: 98.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/2.921, allocations: 7.953 kB / 1.413 GB, free: 98.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/2.921, allocations: 23.98 kB / 1.413 GB, free: 98.61 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.003738/2.925, allocations: 3.772 MB / 1.416 GB, free: 94.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/2.925, allocations: 200 kB / 1.416 GB, free: 94.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/2.925, allocations: 105.1 kB / 1.417 GB, free: 94.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/2.925, allocations: 343.9 kB / 1.417 GB, free: 93.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/2.926, allocations: 34.69 kB / 1.417 GB, free: 93.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 4.589e-06/2.926, allocations: 2.156 kB / 1.417 GB, free: 93.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.000568/2.926, allocations: 264.9 kB / 1.417 GB, free: 93.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/2.926, allocations: 59.34 kB / 1.417 GB, free: 93.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/2.927, allocations: 0.6337 MB / 1.418 GB, free: 92.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/2.927, allocations: 29.7 kB / 1.418 GB, free: 92.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/2.927, allocations: 0.5241 MB / 1.418 GB, free: 92.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/2.927, allocations: 82.84 kB / 1.418 GB, free: 92.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/2.927, allocations: 0 / 1.418 GB, free: 92.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001029/2.927, allocations: 329.9 kB / 1.419 GB, free: 91.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/2.928, allocations: 95.58 kB / 1.419 GB, free: 91.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/2.928, allocations: 319.7 kB / 1.419 GB, free: 91.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/2.928, allocations: 172.5 kB / 1.419 GB, free: 91.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/2.928, allocations: 0 / 1.419 GB, free: 91.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007209/2.929, allocations: 455.6 kB / 1.42 GB, free: 90.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/2.929, allocations: 8 kB / 1.42 GB, free: 90.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/2.929, allocations: 4 kB / 1.42 GB, free: 90.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/2.929, allocations: 10.97 kB / 1.42 GB, free: 90.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/2.93, allocations: 123.8 kB / 1.42 GB, free: 90.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/2.93, allocations: 11.94 kB / 1.42 GB, free: 90.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/2.93, allocations: 85.42 kB / 1.42 GB, free: 90.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/2.93, allocations: 27.98 kB / 1.42 GB, free: 90.51 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/2.93, allocations: 120.8 kB / 1.42 GB, free: 90.38 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004092/2.931, allocations: 259.4 kB / 1.42 GB, free: 90.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/2.931, allocations: 93.64 kB / 1.42 GB, free: 90.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006197/2.932, allocations: 288.7 kB / 1.421 GB, free: 89.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/2.932, allocations: 4 kB / 1.421 GB, free: 89.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/2.932, allocations: 3.984 kB / 1.421 GB, free: 89.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003395/2.932, allocations: 292.2 kB / 1.421 GB, free: 89.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/2.934, allocations: 0.9699 MB / 1.422 GB, free: 88.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/2.934, allocations: 0 / 1.422 GB, free: 88.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/2.934, allocations: 51.91 kB / 1.422 GB, free: 88.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/2.934, allocations: 6.812 kB / 1.422 GB, free: 88.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/2.934, allocations: 7.938 kB / 1.422 GB, free: 88.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/2.934, allocations: 4 kB / 1.422 GB, free: 88.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/2.934, allocations: 0 / 1.422 GB, free: 88.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/2.935, allocations: 0.4985 MB / 1.423 GB, free: 87.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/2.935, allocations: 204 kB / 1.423 GB, free: 87.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/2.935, allocations: 0 / 1.423 GB, free: 87.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/2.936, allocations: 45.55 kB / 1.423 GB, free: 87.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/2.936, allocations: 19.97 kB / 1.423 GB, free: 87.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/2.936, allocations: 4 kB / 1.423 GB, free: 87.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000596/2.936, allocations: 499.1 kB / 1.423 GB, free: 87.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/2.936, allocations: 0 / 1.423 GB, free: 87.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001546/2.938, allocations: 347.2 kB / 1.424 GB, free: 86.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001805/2.94, allocations: 1.655 MB / 1.425 GB, free: 85.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004615/2.94, allocations: 264 kB / 1.425 GB, free: 84.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/2.94, allocations: 0 / 1.425 GB, free: 84.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/2.94, allocations: 100.8 kB / 1.426 GB, free: 84.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/2.942, allocations: 437.3 kB / 1.426 GB, free: 84.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/2.945, allocations: 1.291 MB / 1.427 GB, free: 83.12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/2.945, allocations: 1.043 MB / 1.428 GB, free: 82.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006232/2.946, allocations: 161.7 kB / 1.428 GB, free: 81.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/2.946, allocations: 355.3 kB / 1.429 GB, free: 81.56 MB / 0.6511 GB Notification: Performance of SimCode: time 1.543e-06/2.946, allocations: 0 / 1.429 GB, free: 81.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05124/2.997, allocations: 23.93 MB / 1.452 GB, free: 58.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/2.998, allocations: 186.1 kB / 1.452 GB, free: 57.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/5.704, allocations: 0 / 1.452 GB, free: 57.89 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)