Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002207/0.002207, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 96.08 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6737/0.6737, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 60.24 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.523/8.689, allocations: 2.993 GB / 3.481 GB, free: 30.38 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/8.689, allocations: 79.97 kB / 3.481 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.381/11.07, allocations: 458.7 MB / 3.929 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.116e-06/11.07, allocations: 0 / 3.929 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001148/11.07, allocations: 25.66 kB / 3.929 GB, free: 47.65 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.007218/11.08, allocations: 1.293 MB / 3.93 GB, free: 47.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/11.08, allocations: 8.656 kB / 3.93 GB, free: 47.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000334/11.08, allocations: 90.97 kB / 3.93 GB, free: 47.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008649/11.08, allocations: 128.3 kB / 3.93 GB, free: 47.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/11.08, allocations: 476.1 kB / 3.931 GB, free: 46.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/11.08, allocations: 39.97 kB / 3.931 GB, free: 46.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/11.08, allocations: 46.88 kB / 3.931 GB, free: 46.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/11.08, allocations: 0.7798 MB / 3.932 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/11.08, allocations: 0 / 3.932 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/11.08, allocations: 26.14 kB / 3.932 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/11.08, allocations: 15.94 kB / 3.932 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/11.08, allocations: 0.5166 MB / 3.932 GB, free: 46.6 MB / 0.5105 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.003821/11.09, allocations: 2.656 MB / 3.935 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/11.09, allocations: 0.5615 MB / 3.935 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06897/11.16, allocations: 31.86 MB / 3.966 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/11.16, allocations: 37.38 kB / 3.966 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.547e-06/11.16, allocations: 0 / 3.966 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.008261/11.17, allocations: 1.853 MB / 3.968 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/11.17, allocations: 107.2 kB / 3.968 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/11.17, allocations: 397 kB / 3.969 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/11.17, allocations: 32.58 kB / 3.969 GB, free: 40.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/11.17, allocations: 278.7 kB / 3.969 GB, free: 40.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/11.17, allocations: 115.8 kB / 3.969 GB, free: 40.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/11.17, allocations: 5 kB / 3.969 GB, free: 40.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002456/11.17, allocations: 366.4 kB / 3.969 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/11.17, allocations: 154.5 kB / 3.97 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/11.17, allocations: 225.4 kB / 3.97 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/11.17, allocations: 168.7 kB / 3.97 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/11.17, allocations: 3.969 kB / 3.97 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002448/11.17, allocations: 0.7509 MB / 3.971 GB, free: 39.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003388/11.17, allocations: 0.5238 MB / 3.971 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/11.17, allocations: 2.156 kB / 3.971 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/11.18, allocations: 0.5131 MB / 3.972 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/11.18, allocations: 31.72 kB / 3.972 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/11.18, allocations: 1.5 MB / 3.973 GB, free: 38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/11.18, allocations: 65.34 kB / 3.973 GB, free: 37.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/11.18, allocations: 27.97 kB / 3.973 GB, free: 37.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/11.18, allocations: 3 kB / 3.973 GB, free: 37.99 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002134/11.18, allocations: 0.6212 MB / 3.974 GB, free: 37.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/11.18, allocations: 4.875 kB / 3.974 GB, free: 37.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/11.19, allocations: 452.4 kB / 3.974 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/11.19, allocations: 46.84 kB / 3.974 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/11.19, allocations: 1.438 MB / 3.976 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008171/11.19, allocations: 57.56 kB / 3.976 GB, free: 36.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/11.19, allocations: 26.67 kB / 3.976 GB, free: 36.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006093/11.19, allocations: 245.5 kB / 3.976 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/11.19, allocations: 53.12 kB / 3.976 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006618/11.2, allocations: 2.98 MB / 3.979 GB, free: 36.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/11.2, allocations: 8.203 kB / 3.979 GB, free: 36.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/11.2, allocations: 0 / 3.979 GB, free: 36.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/11.2, allocations: 2.156 kB / 3.979 GB, free: 36.56 MB / 0.5261 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 postOpt removeSimpleEquations (simulation): time 0.007988/11.2, allocations: 4.459 MB / 3.983 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/11.2, allocations: 0 / 3.983 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/11.2, allocations: 44.27 kB / 3.984 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003179/11.21, allocations: 1.195 MB / 3.985 GB, free: 35.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/11.21, allocations: 9.734 kB / 3.985 GB, free: 35.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/11.21, allocations: 2.759 MB / 3.987 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/11.21, allocations: 0 / 3.987 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/11.22, allocations: 3.905 MB / 3.991 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/11.22, allocations: 137.9 kB / 3.991 GB, free: 32.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/11.22, allocations: 3.875 kB / 3.991 GB, free: 32.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007015/11.22, allocations: 54.8 kB / 3.991 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/11.22, allocations: 22.95 kB / 3.991 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/11.22, allocations: 14.98 kB / 3.991 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000629/11.22, allocations: 312.3 kB / 3.992 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/11.22, allocations: 2.344 kB / 3.992 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007419/11.23, allocations: 1.049 MB / 3.993 GB, free: 32.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01438/11.24, allocations: 3.048 MB / 3.996 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003389/11.25, allocations: 0.803 MB / 3.997 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/11.25, allocations: 0 / 3.997 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/11.25, allocations: 465.9 kB / 3.997 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/11.25, allocations: 308.9 kB / 3.997 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009283/11.26, allocations: 3.122 MB / 4 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008334/11.26, allocations: 0.8959 MB / 4.001 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006882/11.26, allocations: 117.4 kB / 4.001 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/11.26, allocations: 225.9 kB / 4.002 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/11.26, allocations: 0 / 4.002 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/11.38, allocations: 48.77 MB / 4.049 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/11.38, allocations: 203.7 kB / 4.049 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/15.47, allocations: 7.562 kB / 4.049 GB, free: 25.84 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixer.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)