Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.ValveZeroFlow,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.ValveZeroFlow,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow",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.001899/0.001899, allocations: 180.9 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 2.084/2.084, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001166/0.001166, allocations: 95.28 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5961/0.5961, allocations: 48.79 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003948, allocations: 8 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 60.24 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.358/8.538, allocations: 2.865 GB / 3.353 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/8.538, allocations: 79.83 kB / 3.353 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.002/9.54, allocations: 267.1 MB / 3.614 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.637e-06/9.54, allocations: 0 / 3.614 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.502e-05/9.54, allocations: 20.12 kB / 3.614 GB, free: 52.52 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.007001/9.547, allocations: 1.169 MB / 3.615 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/9.547, allocations: 12.03 kB / 3.615 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/9.547, allocations: 66.55 kB / 3.615 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/9.548, allocations: 75.31 kB / 3.615 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009545/9.549, allocations: 390.5 kB / 3.615 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/9.549, allocations: 24.66 kB / 3.615 GB, free: 50.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/9.549, allocations: 29.2 kB / 3.615 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/9.55, allocations: 426.1 kB / 3.616 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/9.55, allocations: 0 / 3.616 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/9.55, allocations: 15.95 kB / 3.616 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/9.55, allocations: 15.98 kB / 3.616 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006403/9.55, allocations: 258 kB / 3.616 GB, free: 49.92 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.0023/9.553, allocations: 1.861 MB / 3.618 GB, free: 47.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/9.553, allocations: 154.5 kB / 3.618 GB, free: 47.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06091/9.614, allocations: 31.85 MB / 3.649 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/9.614, allocations: 30.56 kB / 3.649 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.354e-06/9.614, allocations: 4 kB / 3.649 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.002471/9.617, allocations: 0.5557 MB / 3.65 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/9.617, allocations: 63.34 kB / 3.65 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/9.617, allocations: 353 kB / 3.65 GB, free: 11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/9.617, allocations: 29.7 kB / 3.65 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/9.618, allocations: 220.1 kB / 3.65 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/9.618, allocations: 51.2 kB / 3.65 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/9.618, allocations: 8 kB / 3.65 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001231/9.618, allocations: 350.8 kB / 3.651 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/9.618, allocations: 68.33 kB / 3.651 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/9.618, allocations: 97.5 kB / 3.651 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/9.618, allocations: 75.97 kB / 3.651 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/9.618, allocations: 0 / 3.651 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006586/9.619, allocations: 284.7 kB / 3.651 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/9.619, allocations: 449.1 kB / 3.652 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/9.619, allocations: 0 / 3.652 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/9.621, allocations: 172.7 kB / 3.652 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/9.621, allocations: 55.95 kB / 3.652 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000728/9.622, allocations: 0.6264 MB / 3.653 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/9.622, allocations: 51.72 kB / 3.653 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/9.622, allocations: 7.984 kB / 3.653 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/9.622, allocations: 4 kB / 3.653 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007328/9.623, allocations: 236.5 kB / 3.653 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/9.623, allocations: 4 kB / 3.653 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004503/9.624, allocations: 84.86 kB / 3.653 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/9.624, allocations: 67.88 kB / 3.653 GB, free: 8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/9.626, allocations: 1.48 MB / 3.654 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004461/9.626, allocations: 31.86 kB / 3.654 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/9.626, allocations: 8 kB / 3.654 GB, free: 6.348 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003264/9.627, allocations: 226.6 kB / 3.655 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/9.627, allocations: 47.42 kB / 3.655 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/9.628, allocations: 0.9201 MB / 3.656 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/9.628, allocations: 8 kB / 3.656 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/9.628, allocations: 0 / 3.656 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/9.628, allocations: 3.984 kB / 3.656 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/9.629, allocations: 0.5448 MB / 3.656 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/9.629, allocations: 0 / 3.656 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.87e-05/9.629, allocations: 23.98 kB / 3.656 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00166/9.631, allocations: 0.8157 MB / 3.657 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/9.631, allocations: 3.984 kB / 3.657 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009249/9.632, allocations: 1.065 MB / 3.658 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/9.632, allocations: 0 / 3.658 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009719/9.633, allocations: 0.8001 MB / 3.659 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/9.633, allocations: 152.2 kB / 3.659 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/9.633, allocations: 8.281 kB / 3.659 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/9.633, allocations: 31.88 kB / 3.659 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/9.633, allocations: 15.92 kB / 3.659 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/9.633, allocations: 11.98 kB / 3.659 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003828/9.634, allocations: 330.9 kB / 3.659 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/9.634, allocations: 0 / 3.659 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006871/9.641, allocations: 0.9756 MB / 3.66 GB, free: 256 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.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 (11): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.4465/10.09, allocations: 2.312 MB / 3.663 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001801/10.09, allocations: 474.1 kB / 3.663 GB, free: 76.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/10.09, allocations: 1.156 kB / 3.663 GB, free: 76.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004603/10.09, allocations: 197.8 kB / 3.663 GB, free: 76.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/10.09, allocations: 216.5 kB / 3.663 GB, free: 76.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/10.1, allocations: 2.267 MB / 3.666 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/10.1, allocations: 0.8566 MB / 3.666 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006335/10.1, allocations: 169.8 kB / 3.667 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/10.1, allocations: 166.7 kB / 3.667 GB, free: 74.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/10.1, allocations: 0 / 3.667 GB, free: 74.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08385/10.18, allocations: 36.25 MB / 3.702 GB, free: 74 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/10.18, allocations: 201.4 kB / 3.702 GB, free: 73.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.776/13.96, allocations: 0 / 3.702 GB, free: 73.76 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow.fmu > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1)