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.001593/0.001592, allocations: 176.2 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.624/1.624, 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.001093/0.001093, allocations: 93.66 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4991/0.4991, allocations: 48.77 MB / 358.8 MB, free: 53.21 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.284e-05, allocations: 11.92 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 60.26 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.918/8.064, allocations: 2.865 GB / 3.339 GB, free: 5.535 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/8.065, allocations: 79.95 kB / 3.339 GB, free: 5.457 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.328/9.392, allocations: 263.6 MB / 3.597 GB, free: 86.24 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.533e-06/9.392, allocations: 0 / 3.597 GB, free: 86.24 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 3.804e-05/9.392, allocations: 14.09 kB / 3.597 GB, free: 86.24 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.005773/9.398, allocations: 1.107 MB / 3.598 GB, free: 85.69 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/9.398, allocations: 9.062 kB / 3.598 GB, free: 85.69 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/9.399, allocations: 78.02 kB / 3.598 GB, free: 85.66 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007211/9.399, allocations: 386 kB / 3.598 GB, free: 85.45 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/9.399, allocations: 11.91 kB / 3.598 GB, free: 85.45 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/9.4, allocations: 18.19 kB / 3.598 GB, free: 85.45 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004788/9.4, allocations: 207.1 kB / 3.598 GB, free: 85.45 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/9.401, allocations: 314.5 kB / 3.599 GB, free: 85.3 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/9.401, allocations: 6.234 kB / 3.599 GB, free: 85.3 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/9.401, allocations: 5.172 kB / 3.599 GB, free: 85.3 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/9.401, allocations: 6.906 kB / 3.599 GB, free: 85.3 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.06663/9.467, allocations: 33.76 MB / 3.632 GB, free: 64.61 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/9.468, allocations: 92.39 kB / 3.632 GB, free: 64.58 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/9.468, allocations: 60.27 kB / 3.632 GB, free: 64.57 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05523/9.523, allocations: 31.97 MB / 3.663 GB, free: 44.4 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/9.523, allocations: 33.25 kB / 3.663 GB, free: 44.36 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/9.523, allocations: 0 / 3.663 GB, free: 44.36 MB / 0.5108 GB Notification: Performance of matching and sorting (n=13): time 0.001039/9.524, allocations: 257.5 kB / 3.663 GB, free: 44.3 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/9.524, allocations: 58.41 kB / 3.663 GB, free: 44.24 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/9.524, allocations: 278.8 kB / 3.664 GB, free: 44.14 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/9.524, allocations: 25.7 kB / 3.664 GB, free: 44.11 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/9.525, allocations: 241.9 kB / 3.664 GB, free: 43.99 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/9.525, allocations: 40.95 kB / 3.664 GB, free: 43.97 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/9.525, allocations: 0 / 3.664 GB, free: 43.97 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/9.525, allocations: 346.8 kB / 3.664 GB, free: 43.66 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/9.525, allocations: 44.81 kB / 3.664 GB, free: 43.66 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/9.525, allocations: 88.58 kB / 3.664 GB, free: 43.61 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/9.525, allocations: 77.31 kB / 3.664 GB, free: 43.61 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/9.525, allocations: 0 / 3.664 GB, free: 43.61 MB / 0.5108 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005609/9.526, allocations: 263.3 kB / 3.665 GB, free: 43.54 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/9.526, allocations: 456.3 kB / 3.665 GB, free: 43.08 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/9.526, allocations: 3.625 kB / 3.665 GB, free: 43.08 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/9.526, allocations: 82.89 kB / 3.665 GB, free: 43.07 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/9.527, allocations: 53.38 kB / 3.665 GB, free: 43.07 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006903/9.527, allocations: 0.6746 MB / 3.666 GB, free: 42.55 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/9.528, allocations: 30.3 kB / 3.666 GB, free: 42.54 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/9.528, allocations: 16.31 kB / 3.666 GB, free: 42.54 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/9.528, allocations: 3.938 kB / 3.666 GB, free: 42.54 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005813/9.528, allocations: 188.1 kB / 3.666 GB, free: 42.52 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/9.528, allocations: 3.172 kB / 3.666 GB, free: 42.52 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/9.529, allocations: 85.39 kB / 3.666 GB, free: 42.51 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/9.529, allocations: 54.19 kB / 3.666 GB, free: 42.51 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/9.53, allocations: 1.606 MB / 3.668 GB, free: 41.21 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/9.531, allocations: 27.7 kB / 3.668 GB, free: 41.21 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/9.531, allocations: 10.5 kB / 3.668 GB, free: 41.21 MB / 0.5108 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 () * 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.0001097/9.531, allocations: 107.9 kB / 3.668 GB, free: 41.1 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003891/9.531, allocations: 177.4 kB / 3.668 GB, free: 41.05 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/9.531, allocations: 42.27 kB / 3.668 GB, free: 41.02 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/9.532, allocations: 0.8371 MB / 3.669 GB, free: 40.93 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/9.532, allocations: 10.2 kB / 3.669 GB, free: 40.93 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/9.532, allocations: 0 / 3.669 GB, free: 40.93 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/9.532, allocations: 3.422 kB / 3.669 GB, free: 40.93 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/9.533, allocations: 442.9 kB / 3.669 GB, free: 40.76 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/9.533, allocations: 0 / 3.669 GB, free: 40.76 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/9.533, allocations: 21.28 kB / 3.669 GB, free: 40.76 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009989/9.534, allocations: 0.8995 MB / 3.67 GB, free: 40.72 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/9.534, allocations: 0 / 3.67 GB, free: 40.72 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008642/9.535, allocations: 1.159 MB / 3.671 GB, free: 40.17 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/9.535, allocations: 0 / 3.671 GB, free: 40.17 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/9.536, allocations: 0.7912 MB / 3.672 GB, free: 39.97 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/9.536, allocations: 119.4 kB / 3.672 GB, free: 39.86 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/9.536, allocations: 15.88 kB / 3.672 GB, free: 39.85 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/9.536, allocations: 21.06 kB / 3.672 GB, free: 39.85 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/9.536, allocations: 18.08 kB / 3.672 GB, free: 39.85 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/9.536, allocations: 3.781 kB / 3.672 GB, free: 39.85 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.000189/9.536, allocations: 213.9 kB / 3.673 GB, free: 39.77 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.4e-07/9.536, allocations: 4 kB / 3.673 GB, free: 39.77 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.004544/9.541, allocations: 0.9609 MB / 3.674 GB, free: 39.64 MB / 0.5108 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.008539/9.549, allocations: 2.365 MB / 3.676 GB, free: 38.72 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.001087/9.551, allocations: 413.3 kB / 3.676 GB, free: 38.6 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/9.551, allocations: 3.938 kB / 3.676 GB, free: 38.6 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/9.551, allocations: 164.5 kB / 3.676 GB, free: 38.6 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009534/9.552, allocations: 126.6 kB / 3.677 GB, free: 38.58 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/9.555, allocations: 0.8961 MB / 3.677 GB, free: 38.22 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/9.556, allocations: 0.8471 MB / 3.678 GB, free: 37.52 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0003914/9.556, allocations: 203.9 kB / 3.678 GB, free: 37.5 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/9.556, allocations: 145.2 kB / 3.679 GB, free: 37.5 MB / 0.5108 GB Notification: Performance of SimCode: time 1.002e-06/9.556, allocations: 0 / 3.679 GB, free: 37.5 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/9.62, allocations: 30.17 MB / 3.708 GB, free: 30.11 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/9.621, allocations: 134.8 kB / 3.708 GB, free: 29.91 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/12.52, allocations: 0 / 3.708 GB, free: 29.91 MB / 0.5108 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)