Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",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.001482/0.001482, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008913/0.0008912, allocations: 81.95 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4963/0.4963, allocations: 48.77 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.96e-05, allocations: 4 kB / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 60.25 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.157/8.286, allocations: 2.886 GB / 3.36 GB, free: 147 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/8.287, allocations: 86.86 kB / 3.36 GB, free: 147 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.056/9.343, allocations: 278.1 MB / 3.632 GB, free: 78.02 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.755e-06/9.343, allocations: 0 / 3.632 GB, free: 78.02 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.503e-05/9.343, allocations: 14.06 kB / 3.632 GB, free: 78.02 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005981/9.349, allocations: 1.105 MB / 3.633 GB, free: 77.4 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 7.532e-05/9.349, allocations: 9.188 kB / 3.633 GB, free: 77.4 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/9.35, allocations: 85.86 kB / 3.633 GB, free: 77.36 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/9.35, allocations: 389.5 kB / 3.633 GB, free: 77.08 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/9.35, allocations: 11.34 kB / 3.633 GB, free: 77.08 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/9.351, allocations: 15.53 kB / 3.634 GB, free: 77.08 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004559/9.351, allocations: 244.7 kB / 3.634 GB, free: 76.99 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/9.352, allocations: 398.4 kB / 3.634 GB, free: 76.69 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/9.352, allocations: 0 / 3.634 GB, free: 76.69 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/9.352, allocations: 3.688 kB / 3.634 GB, free: 76.69 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/9.352, allocations: 7.75 kB / 3.634 GB, free: 76.69 MB / 0.5108 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.1253/9.477, allocations: 65.85 MB / 3.698 GB, free: 34.07 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/9.478, allocations: 212.7 kB / 3.699 GB, free: 33.99 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/9.478, allocations: 62.59 kB / 3.699 GB, free: 33.95 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/9.478, allocations: 135.5 kB / 3.699 GB, free: 33.85 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/9.478, allocations: 33.94 kB / 3.699 GB, free: 33.81 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/9.478, allocations: 0 / 3.699 GB, free: 33.81 MB / 0.5108 GB Notification: Performance of matching and sorting (n=13): time 0.0008212/9.479, allocations: 206.2 kB / 3.699 GB, free: 33.72 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/9.479, allocations: 88.67 kB / 3.699 GB, free: 33.62 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/9.479, allocations: 291.5 kB / 3.699 GB, free: 33.46 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/9.479, allocations: 25.7 kB / 3.699 GB, free: 33.43 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/9.48, allocations: 255.6 kB / 3.7 GB, free: 33.21 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/9.48, allocations: 38.98 kB / 3.7 GB, free: 33.18 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/9.48, allocations: 2.734 kB / 3.7 GB, free: 33.18 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/9.48, allocations: 345.8 kB / 3.7 GB, free: 32.86 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-05/9.48, allocations: 50.09 kB / 3.7 GB, free: 32.84 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/9.48, allocations: 115.7 kB / 3.7 GB, free: 32.73 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/9.48, allocations: 76.34 kB / 3.7 GB, free: 32.71 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/9.48, allocations: 0 / 3.7 GB, free: 32.71 MB / 0.5108 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005693/9.481, allocations: 230.8 kB / 3.701 GB, free: 32.61 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.00025/9.481, allocations: 0.7927 MB / 3.701 GB, free: 31.77 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/9.481, allocations: 0 / 3.701 GB, free: 31.77 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/9.481, allocations: 7.719 kB / 3.701 GB, free: 31.76 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/9.482, allocations: 76.83 kB / 3.701 GB, free: 31.75 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/9.482, allocations: 7.906 kB / 3.701 GB, free: 31.75 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/9.482, allocations: 54.27 kB / 3.701 GB, free: 31.73 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/9.482, allocations: 7.938 kB / 3.701 GB, free: 31.73 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/9.482, allocations: 3.969 kB / 3.701 GB, free: 31.73 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003404/9.483, allocations: 140.5 kB / 3.702 GB, free: 31.68 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/9.483, allocations: 3.594 kB / 3.702 GB, free: 31.68 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/9.483, allocations: 0 / 3.702 GB, free: 31.68 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/9.483, allocations: 78.36 kB / 3.702 GB, free: 31.67 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/9.483, allocations: 3.969 kB / 3.702 GB, free: 31.67 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/9.483, allocations: 40.28 kB / 3.702 GB, free: 31.67 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/9.483, allocations: 11.84 kB / 3.702 GB, free: 31.66 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001012/9.483, allocations: 115.3 kB / 3.702 GB, free: 31.55 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003695/9.484, allocations: 161.9 kB / 3.702 GB, free: 31.46 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/9.484, allocations: 37.59 kB / 3.702 GB, free: 31.45 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/9.484, allocations: 181 kB / 3.702 GB, free: 31.36 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/9.484, allocations: 0 / 3.702 GB, free: 31.36 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/9.484, allocations: 4 kB / 3.702 GB, free: 31.36 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/9.484, allocations: 7.281 kB / 3.702 GB, free: 31.35 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/9.485, allocations: 486.1 kB / 3.703 GB, free: 31 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/9.485, allocations: 3.781 kB / 3.703 GB, free: 31 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/9.485, allocations: 48.88 kB / 3.703 GB, free: 30.99 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/9.485, allocations: 4.031 kB / 3.703 GB, free: 30.99 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/9.485, allocations: 3.125 kB / 3.703 GB, free: 30.99 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/9.485, allocations: 0 / 3.703 GB, free: 30.99 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/9.485, allocations: 0 / 3.703 GB, free: 30.99 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/9.486, allocations: 366.8 kB / 3.703 GB, free: 30.68 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/9.486, allocations: 115.6 kB / 3.703 GB, free: 30.57 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/9.486, allocations: 0 / 3.703 GB, free: 30.57 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/9.486, allocations: 32.72 kB / 3.703 GB, free: 30.57 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/9.486, allocations: 15.67 kB / 3.703 GB, free: 30.56 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/9.486, allocations: 6.469 kB / 3.703 GB, free: 30.56 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0002105/9.487, allocations: 231.6 kB / 3.703 GB, free: 30.43 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.4e-07/9.487, allocations: 0 / 3.703 GB, free: 30.43 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.00512/9.492, allocations: 0.948 MB / 3.704 GB, free: 30.23 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.008725/9.5, allocations: 2.329 MB / 3.707 GB, free: 29 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0006161/9.501, allocations: 229.6 kB / 3.707 GB, free: 28.91 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/9.501, allocations: 0 / 3.707 GB, free: 28.91 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/9.501, allocations: 55.2 kB / 3.707 GB, free: 28.89 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/9.502, allocations: 133.6 kB / 3.707 GB, free: 28.86 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/9.507, allocations: 0.7535 MB / 3.708 GB, free: 28.47 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/9.508, allocations: 0.8177 MB / 3.709 GB, free: 27.77 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0005678/9.508, allocations: 221 kB / 3.709 GB, free: 27.75 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/9.508, allocations: 150.4 kB / 3.709 GB, free: 27.64 MB / 0.5108 GB Notification: Performance of SimCode: time 7.12e-07/9.508, allocations: 0 / 3.709 GB, free: 27.64 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07562/9.584, allocations: 28.71 MB / 3.737 GB, free: 7.32 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/9.584, allocations: 139.3 kB / 3.737 GB, free: 7.121 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/12.55, allocations: 0 / 3.737 GB, free: 7.121 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)