Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00179/0.00179, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.858/1.858, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001771/0.001771, allocations: 107.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.191/0.191, allocations: 37.98 MB / 295.1 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/1.998e-05, allocations: 2.062 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.09929, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.782/5.882, allocations: 2.495 GB / 2.884 GB, free: 17.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/5.882, allocations: 83.95 kB / 2.884 GB, free: 16.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092/6.974, allocations: 225.5 MB / 3.105 GB, free: 59.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/6.974, allocations: 0 / 3.105 GB, free: 59.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.517e-05/6.974, allocations: 7 kB / 3.105 GB, free: 59.43 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006507/6.98, allocations: 1.252 MB / 3.106 GB, free: 58.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/6.981, allocations: 7.156 kB / 3.106 GB, free: 58.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/6.983, allocations: 239.5 kB / 3.106 GB, free: 58.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009358/6.984, allocations: 421.1 kB / 3.107 GB, free: 58.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/6.984, allocations: 14.66 kB / 3.107 GB, free: 58.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/6.984, allocations: 17.38 kB / 3.107 GB, free: 58.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006053/6.984, allocations: 340.2 kB / 3.107 GB, free: 58.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/6.985, allocations: 400.4 kB / 3.107 GB, free: 58.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/6.985, allocations: 4.312 kB / 3.107 GB, free: 58.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/6.985, allocations: 7.844 kB / 3.107 GB, free: 58.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/6.985, allocations: 12.62 kB / 3.107 GB, free: 58.39 MB / 426.7 MB 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.006252/6.991, allocations: 3.874 MB / 3.111 GB, free: 55.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/6.992, allocations: 231.3 kB / 3.111 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/6.992, allocations: 126.7 kB / 3.111 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.108/7.1, allocations: 50.2 MB / 3.161 GB, free: 28.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.374e-05/7.1, allocations: 45.05 kB / 3.161 GB, free: 28.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 4.177e-06/7.1, allocations: 0 / 3.161 GB, free: 28.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0024/7.103, allocations: 0.5435 MB / 3.161 GB, free: 28.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/7.103, allocations: 106.7 kB / 3.161 GB, free: 28.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/7.103, allocations: 279.9 kB / 3.161 GB, free: 27.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/7.103, allocations: 29.7 kB / 3.161 GB, free: 27.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/7.103, allocations: 238.2 kB / 3.162 GB, free: 27.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/7.104, allocations: 86.55 kB / 3.162 GB, free: 27.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/7.104, allocations: 0 / 3.162 GB, free: 27.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/7.104, allocations: 344.5 kB / 3.162 GB, free: 27.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/7.104, allocations: 102.2 kB / 3.162 GB, free: 27.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/7.104, allocations: 225.2 kB / 3.162 GB, free: 27.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/7.105, allocations: 213.9 kB / 3.163 GB, free: 27.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/7.105, allocations: 4 kB / 3.163 GB, free: 27.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001276/7.106, allocations: 457.8 kB / 3.163 GB, free: 27.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004206/7.107, allocations: 1.487 MB / 3.165 GB, free: 25.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/7.107, allocations: 3.969 kB / 3.165 GB, free: 25.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/7.107, allocations: 3.969 kB / 3.165 GB, free: 25.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/7.107, allocations: 115.7 kB / 3.165 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/7.107, allocations: 15.78 kB / 3.165 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/7.108, allocations: 68.67 kB / 3.165 GB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/7.108, allocations: 25.8 kB / 3.165 GB, free: 25.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/7.108, allocations: 3.969 kB / 3.165 GB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009953/7.109, allocations: 366.4 kB / 3.165 GB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/7.109, allocations: 5.25 kB / 3.165 GB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/7.109, allocations: 7.75 kB / 3.165 GB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/7.11, allocations: 113.2 kB / 3.165 GB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/7.11, allocations: 11.44 kB / 3.165 GB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/7.11, allocations: 55.88 kB / 3.165 GB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/7.11, allocations: 22.78 kB / 3.165 GB, free: 25.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001556/7.11, allocations: 112.8 kB / 3.165 GB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/7.11, allocations: 37.81 kB / 3.165 GB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/7.113, allocations: 1.711 MB / 3.167 GB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/7.113, allocations: 26.36 kB / 3.167 GB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/7.113, allocations: 3.906 kB / 3.167 GB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/7.113, allocations: 2.812 kB / 3.167 GB, free: 25.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/7.114, allocations: 0.8589 MB / 3.168 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/7.114, allocations: 0 / 3.168 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/7.115, allocations: 78.33 kB / 3.168 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/7.115, allocations: 0 / 3.168 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/7.115, allocations: 7.812 kB / 3.168 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/7.115, allocations: 4 kB / 3.168 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/7.115, allocations: 15.45 kB / 3.168 GB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/7.116, allocations: 0.9609 MB / 3.169 GB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/7.116, allocations: 247.3 kB / 3.169 GB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/7.116, allocations: 2.5 kB / 3.169 GB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/7.117, allocations: 40.06 kB / 3.169 GB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/7.117, allocations: 39.44 kB / 3.169 GB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/7.117, allocations: 6.719 kB / 3.169 GB, free: 23.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003851/7.117, allocations: 293.8 kB / 3.17 GB, free: 23.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/7.117, allocations: 0 / 3.17 GB, free: 23.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007957/7.125, allocations: 1.15 MB / 3.171 GB, free: 23.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01217/7.138, allocations: 1.536 MB / 3.172 GB, free: 23.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/7.139, allocations: 0.6672 MB / 3.173 GB, free: 22.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/7.139, allocations: 4.125 kB / 3.173 GB, free: 22.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/7.14, allocations: 429 kB / 3.173 GB, free: 22.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/7.141, allocations: 177.4 kB / 3.173 GB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1201/7.261, allocations: 54.62 MB / 3.227 GB, free: 2.535 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/7.262, allocations: 0.9918 MB / 3.228 GB, free: 1.516 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001122/7.263, allocations: 0.5411 MB / 3.228 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/7.263, allocations: 47.42 kB / 3.228 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/7.263, allocations: 0 / 3.228 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of Templates: time 0.3363/7.599, allocations: 29.63 MB / 3.257 GB, free: 68.4 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1)