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: translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001675/0.001675, allocations: 172.8 kB / 8.343 MB, free: 0.7422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.3 MB / 214.1 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 86.22 kB / 262.1 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4526/0.4526, allocations: 48.79 MB / 358.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.218e-05, allocations: 0 / 425.3 MB, free: 22.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1768, allocations: 60.26 MB / 485.6 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.607/9.784, allocations: 2.865 GB / 3.339 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/9.784, allocations: 77.95 kB / 3.339 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9009/10.69, allocations: 263.6 MB / 3.596 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.358e-06/10.69, allocations: 3.938 kB / 3.596 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.255e-05/10.69, allocations: 17.62 kB / 3.596 GB, free: 91.25 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.007374/10.69, allocations: 1.101 MB / 3.598 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/10.69, allocations: 10.44 kB / 3.598 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/10.69, allocations: 76.33 kB / 3.598 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008067/10.69, allocations: 384.5 kB / 3.598 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/10.69, allocations: 10.78 kB / 3.598 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/10.69, allocations: 18.94 kB / 3.598 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004266/10.69, allocations: 211.4 kB / 3.598 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/10.7, allocations: 313 kB / 3.599 GB, free: 89.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/10.7, allocations: 11.05 kB / 3.599 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/10.7, allocations: 0 / 3.599 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/10.7, allocations: 9.188 kB / 3.599 GB, free: 89.91 MB / 0.5105 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.06414/10.76, allocations: 33.76 MB / 3.632 GB, free: 54.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/10.76, allocations: 102.5 kB / 3.632 GB, free: 54.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/10.76, allocations: 60.84 kB / 3.632 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05756/10.82, allocations: 31.96 MB / 3.663 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/10.82, allocations: 42.5 kB / 3.663 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/10.82, allocations: 0 / 3.663 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.001417/10.82, allocations: 258 kB / 3.663 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/10.82, allocations: 55.34 kB / 3.663 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/10.82, allocations: 282.2 kB / 3.663 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/10.82, allocations: 25.7 kB / 3.663 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/10.82, allocations: 235.8 kB / 3.664 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/10.82, allocations: 43.45 kB / 3.664 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/10.82, allocations: 0 / 3.664 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001242/10.82, allocations: 342.8 kB / 3.664 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/10.82, allocations: 48.36 kB / 3.664 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/10.82, allocations: 92.25 kB / 3.664 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/10.82, allocations: 75.23 kB / 3.664 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/10.82, allocations: 4 kB / 3.664 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006983/10.82, allocations: 253.9 kB / 3.665 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001742/10.82, allocations: 453.1 kB / 3.665 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/10.82, allocations: 0 / 3.665 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004703/10.82, allocations: 80.8 kB / 3.665 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/10.82, allocations: 59.88 kB / 3.665 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008166/10.82, allocations: 0.6771 MB / 3.666 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/10.82, allocations: 23.83 kB / 3.666 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/10.82, allocations: 12 kB / 3.666 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/10.82, allocations: 7.938 kB / 3.666 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005913/10.82, allocations: 188.6 kB / 3.666 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/10.82, allocations: 0 / 3.666 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/10.82, allocations: 76.78 kB / 3.666 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/10.82, allocations: 60.05 kB / 3.666 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/10.83, allocations: 1.611 MB / 3.668 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/10.83, allocations: 27.89 kB / 3.668 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/10.83, allocations: 8 kB / 3.668 GB, free: 13.46 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 () * 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.0001223/10.83, allocations: 108.9 kB / 3.668 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/10.83, allocations: 35.58 kB / 3.668 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/10.83, allocations: 0.8424 MB / 3.669 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/10.83, allocations: 11.98 kB / 3.669 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/10.83, allocations: 4 kB / 3.669 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/10.83, allocations: 0 / 3.669 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/10.83, allocations: 446.7 kB / 3.669 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/10.83, allocations: 0 / 3.669 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.144e-05/10.83, allocations: 19.98 kB / 3.669 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009907/10.83, allocations: 0.9033 MB / 3.67 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/10.83, allocations: 4 kB / 3.67 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008455/10.83, allocations: 1.143 MB / 3.671 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/10.83, allocations: 8.047 kB / 3.671 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/10.83, allocations: 0.791 MB / 3.672 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/10.83, allocations: 128.4 kB / 3.672 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/10.83, allocations: 0 / 3.672 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/10.83, allocations: 27.94 kB / 3.672 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/10.83, allocations: 11.97 kB / 3.672 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/10.83, allocations: 8 kB / 3.672 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002058/10.83, allocations: 216.5 kB / 3.672 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/10.83, allocations: 0 / 3.672 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005609/10.84, allocations: 0.9751 MB / 3.673 GB, free: 7.684 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: 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.009051/10.85, allocations: 1.361 MB / 3.675 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001266/10.85, allocations: 418.4 kB / 3.675 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/10.85, allocations: 0 / 3.675 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/10.85, allocations: 161.1 kB / 3.675 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/10.85, allocations: 133.2 kB / 3.675 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/10.85, allocations: 0.5385 MB / 3.676 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/10.85, allocations: 0.8433 MB / 3.677 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004667/10.85, allocations: 214.2 kB / 3.677 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/10.85, allocations: 19.44 kB / 3.677 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/10.85, allocations: 0 / 3.677 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of Templates: time 0.379/11.23, allocations: 25.25 MB / 3.702 GB, free: 98.89 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1)