Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001599/0.001599, allocations: 181.1 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.808/1.808, allocations: 194.3 MB / 207.5 MB, free: 3.457 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 105.2 kB / 252.6 MB, free: 4.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.219/0.219, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.61e-05, allocations: 0 / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1201, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.04/7.16, allocations: 2.587 GB / 3.032 GB, free: 78.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/7.16, allocations: 83.53 kB / 3.032 GB, free: 78.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8001/7.96, allocations: 215.5 MB / 3.242 GB, free: 67.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.415e-06/7.96, allocations: 0 / 3.242 GB, free: 67.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/7.96, allocations: 15.28 kB / 3.242 GB, free: 67.38 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005471/7.966, allocations: 1.18 MB / 3.244 GB, free: 66.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/7.966, allocations: 11.62 kB / 3.244 GB, free: 66.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/7.968, allocations: 218.1 kB / 3.244 GB, free: 65.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/7.969, allocations: 389 kB / 3.244 GB, free: 65.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/7.969, allocations: 25.3 kB / 3.244 GB, free: 65.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/7.969, allocations: 32.19 kB / 3.244 GB, free: 65.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/7.971, allocations: 0.5806 MB / 3.245 GB, free: 64.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/7.971, allocations: 3.938 kB / 3.245 GB, free: 64.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/7.971, allocations: 12 kB / 3.245 GB, free: 64.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/7.971, allocations: 8 kB / 3.245 GB, free: 64.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/7.972, allocations: 497.8 kB / 3.245 GB, free: 64.34 MB / 490.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.002524/7.974, allocations: 2.536 MB / 3.248 GB, free: 61.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/7.976, allocations: 423.8 kB / 3.248 GB, free: 61.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/7.976, allocations: 124.8 kB / 3.248 GB, free: 61.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09727/8.073, allocations: 51.64 MB / 3.299 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/8.073, allocations: 34.56 kB / 3.299 GB, free: 3.969 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.365e-06/8.073, allocations: 0 / 3.299 GB, free: 3.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002038/8.075, allocations: 0.6217 MB / 3.299 GB, free: 3.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/8.075, allocations: 106.8 kB / 3.299 GB, free: 3.211 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/8.076, allocations: 254.6 kB / 3.3 GB, free: 2.953 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/8.076, allocations: 29.7 kB / 3.3 GB, free: 2.918 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/8.076, allocations: 214.9 kB / 3.3 GB, free: 2.703 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/8.076, allocations: 86.75 kB / 3.3 GB, free: 2.617 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/8.076, allocations: 8 kB / 3.3 GB, free: 2.609 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/8.076, allocations: 346.8 kB / 3.3 GB, free: 2.262 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/8.076, allocations: 92.64 kB / 3.3 GB, free: 2.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/8.076, allocations: 212.7 kB / 3.301 GB, free: 1.906 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/8.076, allocations: 112.1 kB / 3.301 GB, free: 1.797 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/8.076, allocations: 4 kB / 3.301 GB, free: 1.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004856/8.077, allocations: 356.9 kB / 3.301 GB, free: 1.438 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/8.077, allocations: 8 kB / 3.301 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/8.077, allocations: 4 kB / 3.301 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/8.077, allocations: 4 kB / 3.301 GB, free: 1.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/8.077, allocations: 116.2 kB / 3.301 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/8.077, allocations: 7.938 kB / 3.301 GB, free: 1.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/8.078, allocations: 71.64 kB / 3.301 GB, free: 1.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/8.078, allocations: 16 kB / 3.301 GB, free: 1.215 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 9.779e-05/8.078, allocations: 132.8 kB / 3.301 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/8.078, allocations: 31.62 kB / 3.301 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3508/8.429, allocations: 1.848 MB / 3.303 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-05/8.429, allocations: 25.55 kB / 3.303 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/8.429, allocations: 0 / 3.303 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/8.429, allocations: 4.969 kB / 3.303 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/8.43, allocations: 0.9764 MB / 3.304 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/8.43, allocations: 3.781 kB / 3.304 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/8.43, allocations: 93.27 kB / 3.304 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/8.43, allocations: 2.531 kB / 3.304 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/8.43, allocations: 7.969 kB / 3.304 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/8.43, allocations: 0 / 3.304 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/8.43, allocations: 0 / 3.304 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/8.432, allocations: 0.9746 MB / 3.305 GB, free: 91.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/8.432, allocations: 213.1 kB / 3.305 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/8.432, allocations: 8.594 kB / 3.305 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/8.432, allocations: 46.08 kB / 3.306 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/8.432, allocations: 30.08 kB / 3.306 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/8.432, allocations: 17.2 kB / 3.306 GB, free: 91.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000296/8.433, allocations: 262.1 kB / 3.306 GB, free: 91.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/8.433, allocations: 2.078 kB / 3.306 GB, free: 91.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005057/8.438, allocations: 1.008 MB / 3.307 GB, free: 91.01 MB / 490.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006672/8.444, allocations: 1.366 MB / 3.308 GB, free: 90.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009351/8.445, allocations: 0.505 MB / 3.309 GB, free: 90.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/8.445, allocations: 0 / 3.309 GB, free: 90.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005536/8.446, allocations: 470.2 kB / 3.309 GB, free: 90.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/8.447, allocations: 183.8 kB / 3.309 GB, free: 90.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1374/8.584, allocations: 76.28 MB / 3.384 GB, free: 87.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/8.585, allocations: 0.9795 MB / 3.385 GB, free: 86.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005814/8.585, allocations: 236.9 kB / 3.385 GB, free: 86.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/8.586, allocations: 40.44 kB / 3.385 GB, free: 86.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.794e-06/8.586, allocations: 0 / 3.385 GB, free: 86.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04418/8.63, allocations: 31.98 MB / 3.416 GB, free: 70.58 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)