Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 106.4 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06216/0.06216, allocations: 11.85 MB / 282.4 MB, free: 220 kB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 73.27 kB / 393 MB, free: 45.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06722/0.06943, allocations: 49.23 MB / 442.2 MB, free: 2.078 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003555/0.07299, allocations: 2.82 MB / 445.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.07638, allocations: 2.291 MB / 447.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.07651, allocations: 4 kB / 447.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.07687, allocations: 95.38 kB / 447.4 MB, free: 12.84 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.07732, allocations: 186.8 kB / 447.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009042/0.07822, allocations: 438.4 kB / 448.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.07869, allocations: 378.2 kB / 448.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.07881, allocations: 48.7 kB / 448.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.07901, allocations: 135.4 kB / 448.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.07924, allocations: 155.3 kB / 448.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.07928, allocations: 20 kB / 448.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.07977, allocations: 283.7 kB / 449.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.07986, allocations: 63.75 kB / 449.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.08003, allocations: 151.1 kB / 449.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.08078, allocations: 0.506 MB / 449.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.08079, allocations: 0 / 449.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08079, allocations: 0 / 449.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.0808, allocations: 4 kB / 449.8 MB, free: 10.5 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009958/0.08179, allocations: 0.6458 MB / 450.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.08183, allocations: 15.89 kB / 450.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/0.08191, allocations: 36.7 kB / 450.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.08232, allocations: 311.5 kB / 450.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.08235, allocations: 16.38 kB / 450.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.08239, allocations: 20 kB / 450.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.08284, allocations: 227.2 kB / 451 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.08285, allocations: 0 / 451 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.08288, allocations: 8 kB / 451 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.08288, allocations: 8 kB / 451 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.08337, allocations: 237.6 kB / 451.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.08519, allocations: 1.325 MB / 452.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.08564, allocations: 166.7 kB / 452.8 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.08581, allocations: 72.83 kB / 452.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.08603, allocations: 174.2 kB / 453 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.08608, allocations: 50.42 kB / 453.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.08608, allocations: 0 / 453.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.02915/0.1152, allocations: 2.724 MB / 455.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1153, allocations: 59.34 kB / 455.8 MB, free: 4.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.1157, allocations: 353.7 kB / 456.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.1158, allocations: 29.7 kB / 456.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1159, allocations: 176.8 kB / 456.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.1161, allocations: 111 kB / 456.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.1163, allocations: 77.66 kB / 456.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1164, allocations: 342.8 kB / 456.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009492/0.1174, allocations: 287.8 kB / 457.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/0.1184, allocations: 322.8 kB / 457.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.1203, allocations: 0.5804 MB / 458.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1203, allocations: 4 kB / 458.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003069/0.1233, allocations: 0.889 MB / 459 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1234, allocations: 4 kB / 459 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1234, allocations: 11.94 kB / 459 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.1259, allocations: 1.032 MB / 460 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.1262, allocations: 55.91 kB / 460.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005946/0.1321, allocations: 1.827 MB / 461.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.1327, allocations: 39.91 kB / 461.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.1328, allocations: 23.97 kB / 462 MB, free: 13.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002547/0.1331, allocations: 153.8 kB / 462.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1332, allocations: 35.77 kB / 462.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/0.137, allocations: 0.9779 MB / 463.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.137, allocations: 7.938 kB / 463.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.137, allocations: 3.938 kB / 463.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.137, allocations: 3.984 kB / 463.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006257/0.1433, allocations: 1.846 MB / 465 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1433, allocations: 4.062 kB / 465 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.1436, allocations: 59.89 kB / 465.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002153/0.1457, allocations: 0.8681 MB / 465.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.1458, allocations: 19.92 kB / 465.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00546/0.1512, allocations: 1.749 MB / 467.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1512, allocations: 0 / 467.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.154, allocations: 0.8668 MB / 468.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.1542, allocations: 176.8 kB / 468.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.1543, allocations: 11.92 kB / 468.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.1549, allocations: 35.97 kB / 468.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.155, allocations: 23.97 kB / 468.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.155, allocations: 15.98 kB / 468.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.1553, allocations: 259.2 kB / 469.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1553, allocations: 4 kB / 469.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007816/0.1561, allocations: 231.5 kB / 469.3 MB, free: 6.254 MB / 350.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002075/0.1582, allocations: 0.5315 MB / 469.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00508/0.1633, allocations: 0.7455 MB / 470.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1633, allocations: 0 / 470.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.1669, allocations: 460.3 kB / 471 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.1675, allocations: 84.59 kB / 471.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.1694, allocations: 0.7801 MB / 471.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.1698, allocations: 0.7879 MB / 472.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.17, allocations: 50.92 kB / 472.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.1701, allocations: 31.42 kB / 472.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1701, allocations: 0 / 472.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Templates: time 0.02389/0.194, allocations: 14.97 MB / 487.7 MB, free: 3.887 MB / 366.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)