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: translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001202, allocations: 181.4 kB / 8.346 MB, free: 0.7148 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.198/2.198, 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.0008695/0.0008699, allocations: 73.97 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.6771/0.6771, allocations: 48.77 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.271e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1633, allocations: 60.25 MB / 485.5 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.877/10.04, allocations: 2.886 GB / 3.36 GB, free: 113 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/10.04, allocations: 81.28 kB / 3.36 GB, free: 113 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.091/11.13, allocations: 278.1 MB / 3.632 GB, free: 50.85 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.164e-06/11.13, allocations: 0 / 3.632 GB, free: 50.85 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 8.019e-05/11.13, allocations: 12 kB / 3.632 GB, free: 50.84 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.00683/11.14, allocations: 1.105 MB / 3.633 GB, free: 49.69 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/11.14, allocations: 12.02 kB / 3.633 GB, free: 49.68 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00047/11.14, allocations: 71.33 kB / 3.633 GB, free: 49.61 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/11.14, allocations: 393 kB / 3.633 GB, free: 49.2 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/11.14, allocations: 12.69 kB / 3.633 GB, free: 49.19 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/11.14, allocations: 20 kB / 3.633 GB, free: 49.17 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004819/11.14, allocations: 241.5 kB / 3.634 GB, free: 48.93 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/11.14, allocations: 389.7 kB / 3.634 GB, free: 48.48 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/11.14, allocations: 4 kB / 3.634 GB, free: 48.47 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/11.14, allocations: 3.938 kB / 3.634 GB, free: 48.47 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/11.14, allocations: 8 kB / 3.634 GB, free: 48.46 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.5744/11.72, allocations: 65.83 MB / 3.698 GB, free: 63.48 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/11.72, allocations: 215.3 kB / 3.699 GB, free: 63.44 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/11.72, allocations: 63.34 kB / 3.699 GB, free: 63.42 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/11.72, allocations: 132.4 kB / 3.699 GB, free: 63.33 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/11.72, allocations: 34.19 kB / 3.699 GB, free: 63.29 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/11.72, allocations: 2.656 kB / 3.699 GB, free: 63.29 MB / 0.5108 GB Notification: Performance of matching and sorting (n=13): time 0.0007696/11.72, allocations: 207.7 kB / 3.699 GB, free: 63.26 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/11.72, allocations: 79.33 kB / 3.699 GB, free: 63.16 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/11.72, allocations: 289 kB / 3.699 GB, free: 63.06 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/11.72, allocations: 25.7 kB / 3.699 GB, free: 63.03 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/11.72, allocations: 252.4 kB / 3.7 GB, free: 62.92 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/11.72, allocations: 49.44 kB / 3.7 GB, free: 62.89 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/11.72, allocations: 0 / 3.7 GB, free: 62.89 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001066/11.72, allocations: 347.5 kB / 3.7 GB, free: 62.58 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/11.72, allocations: 55.33 kB / 3.7 GB, free: 62.58 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/11.72, allocations: 108.2 kB / 3.7 GB, free: 62.51 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/11.72, allocations: 78.06 kB / 3.7 GB, free: 62.51 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/11.72, allocations: 0 / 3.7 GB, free: 62.51 MB / 0.5108 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004836/11.72, allocations: 239.8 kB / 3.7 GB, free: 62.46 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002735/11.72, allocations: 0.7864 MB / 3.701 GB, free: 61.65 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/11.72, allocations: 3.219 kB / 3.701 GB, free: 61.65 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/11.72, allocations: 6.719 kB / 3.701 GB, free: 61.65 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/11.72, allocations: 70.64 kB / 3.701 GB, free: 61.65 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/11.72, allocations: 7.828 kB / 3.701 GB, free: 61.65 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/11.72, allocations: 45.23 kB / 3.701 GB, free: 61.64 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/11.72, allocations: 13.22 kB / 3.701 GB, free: 61.64 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/11.72, allocations: 3.094 kB / 3.701 GB, free: 61.64 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003204/11.72, allocations: 148.9 kB / 3.701 GB, free: 61.64 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-06/11.72, allocations: 2.719 kB / 3.701 GB, free: 61.64 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/11.72, allocations: 5.5 kB / 3.701 GB, free: 61.64 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/11.72, allocations: 68.83 kB / 3.702 GB, free: 61.64 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/11.72, allocations: 9.781 kB / 3.702 GB, free: 61.64 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/11.72, allocations: 42 kB / 3.702 GB, free: 61.64 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/11.72, allocations: 11.42 kB / 3.702 GB, free: 61.64 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 8.829e-05/11.72, allocations: 116.8 kB / 3.702 GB, free: 61.53 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/11.72, allocations: 37.38 kB / 3.702 GB, free: 61.51 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/11.72, allocations: 179 kB / 3.702 GB, free: 61.46 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/11.72, allocations: 3.219 kB / 3.702 GB, free: 61.46 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/11.72, allocations: 0 / 3.702 GB, free: 61.46 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/11.72, allocations: 7.406 kB / 3.702 GB, free: 61.46 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/11.72, allocations: 484.6 kB / 3.702 GB, free: 61.19 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/11.72, allocations: 3.938 kB / 3.702 GB, free: 61.19 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/11.72, allocations: 51.52 kB / 3.702 GB, free: 61.19 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/11.72, allocations: 1.188 kB / 3.702 GB, free: 61.19 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/11.72, allocations: 10.25 kB / 3.702 GB, free: 61.19 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/11.72, allocations: 5.609 kB / 3.702 GB, free: 61.19 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/11.72, allocations: 0 / 3.702 GB, free: 61.19 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/11.72, allocations: 361.7 kB / 3.703 GB, free: 60.92 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/11.72, allocations: 116.6 kB / 3.703 GB, free: 60.81 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/11.72, allocations: 3.609 kB / 3.703 GB, free: 60.81 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/11.72, allocations: 37.94 kB / 3.703 GB, free: 60.8 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/11.72, allocations: 10.02 kB / 3.703 GB, free: 60.8 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/11.72, allocations: 7.469 kB / 3.703 GB, free: 60.8 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.000234/11.72, allocations: 231.8 kB / 3.703 GB, free: 60.72 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.3e-07/11.72, allocations: 2.688 kB / 3.703 GB, free: 60.72 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006021/11.73, allocations: 0.9394 MB / 3.704 GB, free: 60.7 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.00676/11.74, allocations: 1.396 MB / 3.705 GB, free: 60.6 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0005521/11.74, allocations: 223.5 kB / 3.706 GB, free: 60.6 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/11.74, allocations: 6.344 kB / 3.706 GB, free: 60.6 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/11.74, allocations: 54.88 kB / 3.706 GB, free: 60.6 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/11.74, allocations: 128 kB / 3.706 GB, free: 60.6 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/11.74, allocations: 422.1 kB / 3.706 GB, free: 60.43 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/11.74, allocations: 0.8172 MB / 3.707 GB, free: 59.73 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0004636/11.74, allocations: 219.8 kB / 3.707 GB, free: 59.73 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/11.74, allocations: 30.95 kB / 3.707 GB, free: 59.73 MB / 0.5108 GB Notification: Performance of SimCode: time 5.31e-07/11.74, allocations: 0 / 3.707 GB, free: 59.73 MB / 0.5108 GB Notification: Performance of Templates: time 0.04001/11.78, allocations: 24.24 MB / 3.731 GB, free: 59.34 MB / 0.5108 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)