Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4729/0.4729, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 221.3 MB / 348.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009892, allocations: 103.3 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.717e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4531, allocations: 72.31 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.009/5.462, allocations: 1.849 GB / 2.409 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/5.462, allocations: 80.14 kB / 2.409 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.42/8.882, allocations: 1.009 GB / 3.418 GB, free: 42.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/8.882, allocations: 0 / 3.418 GB, free: 42.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.706e-05/8.882, allocations: 35.98 kB / 3.418 GB, free: 42.92 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005106/8.887, allocations: 1.79 MB / 3.42 GB, free: 41.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/8.887, allocations: 11.98 kB / 3.42 GB, free: 41.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/8.887, allocations: 139.1 kB / 3.42 GB, free: 40.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/8.89, allocations: 0.5402 MB / 3.421 GB, free: 40.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/8.893, allocations: 1.074 MB / 3.422 GB, free: 39.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005992/8.893, allocations: 197.9 kB / 3.422 GB, free: 39.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/8.894, allocations: 80 kB / 3.422 GB, free: 38.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/8.895, allocations: 1.142 MB / 3.423 GB, free: 37.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/8.895, allocations: 0 / 3.423 GB, free: 37.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-05/8.896, allocations: 36 kB / 3.423 GB, free: 37.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/8.896, allocations: 45.97 kB / 3.423 GB, free: 37.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/8.897, allocations: 1.113 MB / 3.424 GB, free: 36.63 MB / 0.6198 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.006621/8.904, allocations: 4.204 MB / 3.429 GB, free: 32.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/8.905, allocations: 0.7536 MB / 3.429 GB, free: 31.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/8.906, allocations: 0.5121 MB / 3.43 GB, free: 30.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009319/8.907, allocations: 0.6165 MB / 3.43 GB, free: 30.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/8.907, allocations: 47.3 kB / 3.43 GB, free: 30.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 3.697e-06/8.907, allocations: 0 / 3.43 GB, free: 30.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.002025/8.909, allocations: 1.014 MB / 3.431 GB, free: 29.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/8.909, allocations: 68.12 kB / 3.432 GB, free: 29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008686/8.91, allocations: 0.7015 MB / 3.432 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/8.91, allocations: 41.7 kB / 3.432 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/8.91, allocations: 444.6 kB / 3.433 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/8.91, allocations: 268.1 kB / 3.433 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/8.91, allocations: 16 kB / 3.433 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/8.91, allocations: 330 kB / 3.433 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/8.911, allocations: 409.4 kB / 3.434 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/8.912, allocations: 0.5409 MB / 3.434 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/8.912, allocations: 471.5 kB / 3.435 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/8.912, allocations: 0 / 3.435 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001528/8.914, allocations: 1.098 MB / 3.436 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/8.914, allocations: 485.9 kB / 3.436 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/8.914, allocations: 3.938 kB / 3.436 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/8.914, allocations: 4 kB / 3.436 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/8.915, allocations: 275.6 kB / 3.436 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004659/8.916, allocations: 1.195 MB / 3.438 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/8.917, allocations: 203.3 kB / 3.438 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-05/8.917, allocations: 35.97 kB / 3.438 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/8.917, allocations: 8 kB / 3.438 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/8.919, allocations: 0.992 MB / 3.439 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/8.919, allocations: 4 kB / 3.439 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/8.919, allocations: 7.984 kB / 3.439 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/8.92, allocations: 259.8 kB / 3.439 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/8.92, allocations: 7.938 kB / 3.439 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/8.921, allocations: 191.2 kB / 3.439 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.743e-05/8.921, allocations: 39.97 kB / 3.439 GB, free: 20.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002285/8.921, allocations: 148.9 kB / 3.439 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/8.922, allocations: 102.7 kB / 3.44 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/8.923, allocations: 1.12 MB / 3.441 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/8.923, allocations: 12 kB / 3.441 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/8.923, allocations: 0 / 3.441 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/8.923, allocations: 3.984 kB / 3.441 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/8.927, allocations: 2.605 MB / 3.443 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/8.927, allocations: 12 kB / 3.443 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/8.928, allocations: 255.7 kB / 3.443 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/8.928, allocations: 8 kB / 3.443 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.091e-05/8.928, allocations: 23.98 kB / 3.443 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004371/8.929, allocations: 1.199 MB / 3.445 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/8.929, allocations: 8.062 kB / 3.445 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/8.93, allocations: 1.382 MB / 3.446 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/8.931, allocations: 323.4 kB / 3.446 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/8.931, allocations: 16 kB / 3.446 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/8.932, allocations: 171.8 kB / 3.446 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/8.932, allocations: 68.38 kB / 3.447 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/8.932, allocations: 35.97 kB / 3.447 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005806/8.933, allocations: 0.5469 MB / 3.447 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/8.933, allocations: 4 kB / 3.447 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002122/8.935, allocations: 0.7646 MB / 3.448 GB, free: 11.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004738/8.94, allocations: 5.218 MB / 3.453 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002652/8.943, allocations: 1.682 MB / 3.455 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/8.943, allocations: 0 / 3.455 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007701/8.943, allocations: 0.5422 MB / 3.455 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/8.946, allocations: 0.5076 MB / 3.456 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/8.959, allocations: 2.616 MB / 3.458 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/8.96, allocations: 1.124 MB / 3.459 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002093/8.962, allocations: 483.2 kB / 3.46 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/8.962, allocations: 379.3 kB / 3.46 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/8.962, allocations: 0 / 3.46 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5195/9.482, allocations: 69.92 MB / 3.528 GB, free: 77.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/9.482, allocations: 235.5 kB / 3.529 GB, free: 76.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.359/13.84, allocations: 15.41 kB / 3.529 GB, free: 76.97 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)