Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.TestValves,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValves,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValves",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.001686/0.001686, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.01/2.01, 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.001043/0.001043, allocations: 94.64 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5865/0.5865, allocations: 48.77 MB / 367.9 MB, free: 47.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 8 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1886, allocations: 60.25 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.416/8.605, allocations: 2.866 GB / 3.353 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/8.605, allocations: 80.33 kB / 3.353 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.815/10.42, allocations: 433.4 MB / 3.777 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.274e-06/10.42, allocations: 0 / 3.777 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.738e-05/10.42, allocations: 25.34 kB / 3.777 GB, free: 58.02 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.009038/10.43, allocations: 1.548 MB / 3.778 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/10.43, allocations: 15.33 kB / 3.778 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002005/10.43, allocations: 92.81 kB / 3.778 GB, free: 57.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005089/10.43, allocations: 129.4 kB / 3.778 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/10.43, allocations: 0.6045 MB / 3.779 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/10.43, allocations: 39.69 kB / 3.779 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.574e-05/10.43, allocations: 52.94 kB / 3.779 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/10.43, allocations: 0.9723 MB / 3.78 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/10.43, allocations: 6.672 kB / 3.78 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/10.43, allocations: 22.91 kB / 3.78 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/10.43, allocations: 13.47 kB / 3.78 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/10.44, allocations: 0.8931 MB / 3.781 GB, free: 56.65 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.003453/10.44, allocations: 3.221 MB / 3.784 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/10.44, allocations: 433 kB / 3.784 GB, free: 54.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05845/10.5, allocations: 31.86 MB / 3.815 GB, free: 35.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/10.5, allocations: 41.86 kB / 3.816 GB, free: 35 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001034/10.5, allocations: 133.9 kB / 3.816 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 5.29e-06/10.5, allocations: 3.812 kB / 3.816 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.008413/10.51, allocations: 1.767 MB / 3.817 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/10.51, allocations: 55.31 kB / 3.817 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/10.51, allocations: 0.5334 MB / 3.818 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/10.51, allocations: 29.7 kB / 3.818 GB, free: 34.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/10.51, allocations: 350.3 kB / 3.818 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/10.51, allocations: 108.3 kB / 3.818 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/10.51, allocations: 4 kB / 3.818 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001008/10.51, allocations: 317.7 kB / 3.819 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/10.51, allocations: 159.2 kB / 3.819 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/10.51, allocations: 219.6 kB / 3.819 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/10.51, allocations: 174.5 kB / 3.819 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/10.51, allocations: 0 / 3.819 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001344/10.51, allocations: 0.6156 MB / 3.82 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/10.51, allocations: 0.5319 MB / 3.82 GB, free: 32.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/10.51, allocations: 11.42 kB / 3.82 GB, free: 32.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007168/10.52, allocations: 1.03 MB / 3.821 GB, free: 32.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/10.52, allocations: 61.7 kB / 3.821 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/10.52, allocations: 0.935 MB / 3.822 GB, free: 32.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/10.52, allocations: 65.8 kB / 3.822 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/10.52, allocations: 14.89 kB / 3.822 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/10.52, allocations: 3.719 kB / 3.822 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001175/10.52, allocations: 463.1 kB / 3.823 GB, free: 32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/10.52, allocations: 0 / 3.823 GB, free: 32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/10.52, allocations: 83.03 kB / 3.823 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/10.52, allocations: 98.8 kB / 3.823 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/10.53, allocations: 1.473 MB / 3.824 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/10.53, allocations: 57.91 kB / 3.825 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/10.53, allocations: 18.27 kB / 3.825 GB, free: 30.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,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 (18): * Single equations (assignments): 17 * 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 {6 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003474/10.53, allocations: 248.5 kB / 3.825 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/10.53, allocations: 76.84 kB / 3.825 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/10.53, allocations: 2.144 MB / 3.827 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/10.53, allocations: 20.59 kB / 3.827 GB, free: 29.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/10.53, allocations: 3.172 kB / 3.827 GB, free: 29.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/10.53, allocations: 7.609 kB / 3.827 GB, free: 29.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/10.53, allocations: 0.9427 MB / 3.828 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/10.53, allocations: 3.031 kB / 3.828 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/10.53, allocations: 41.77 kB / 3.828 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005281/10.54, allocations: 2.696 MB / 3.831 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.289e-05/10.54, allocations: 7.906 kB / 3.831 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/10.54, allocations: 2.047 MB / 3.833 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/10.54, allocations: 0 / 3.833 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/10.54, allocations: 1.865 MB / 3.834 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/10.54, allocations: 180.6 kB / 3.835 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/10.54, allocations: 7.75 kB / 3.835 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/10.54, allocations: 57.47 kB / 3.835 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/10.54, allocations: 38.41 kB / 3.835 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/10.54, allocations: 18 kB / 3.835 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005442/10.54, allocations: 432.8 kB / 3.835 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/10.54, allocations: 0 / 3.835 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005456/10.55, allocations: 1.15 MB / 3.836 GB, free: 25.84 MB / 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: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01006/10.56, allocations: 3.329 MB / 3.84 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002729/10.56, allocations: 0.9331 MB / 3.84 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/10.56, allocations: 0 / 3.84 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009506/10.56, allocations: 0.495 MB / 3.841 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/10.57, allocations: 413.6 kB / 3.841 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006509/10.57, allocations: 3.485 MB / 3.845 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/10.57, allocations: 1.014 MB / 3.846 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006888/10.57, allocations: 275.2 kB / 3.846 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/10.57, allocations: 302.8 kB / 3.846 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/10.57, allocations: 0 / 3.846 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09145/10.67, allocations: 51.7 MB / 3.897 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/10.67, allocations: 208.9 kB / 3.897 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.187/14.85, allocations: 0 / 3.897 GB, free: 4.746 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestValves_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestValves.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1)