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.002018/0.002018, allocations: 109.3 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.002671/0.002672, allocations: 189.6 kB / 17.35 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.53/1.53, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05798/0.05798, allocations: 11.84 MB / 282.4 MB, free: 224 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.001686/0.001686, allocations: 72.95 kB / 393 MB, free: 45.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.108, allocations: 49.23 MB / 442.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.004176/0.1122, allocations: 2.813 MB / 445.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.1158, allocations: 2.279 MB / 447.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.116, allocations: 4 kB / 447.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.1165, allocations: 91.38 kB / 447.4 MB, free: 12.86 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.0005314/0.117, allocations: 174.8 kB / 447.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1181, allocations: 449.7 kB / 448 MB, free: 12.25 MB / 334.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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0004684/0.1186, allocations: 385 kB / 448.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.1187, allocations: 64.69 kB / 448.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.119, allocations: 139.4 kB / 448.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.1192, allocations: 151.3 kB / 448.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.1193, allocations: 20 kB / 448.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.1198, allocations: 283.8 kB / 449.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.12, allocations: 63.7 kB / 449.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1201, allocations: 155.1 kB / 449.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007414/0.1209, allocations: 0.4947 MB / 449.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1209, allocations: 0 / 449.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1209, allocations: 0 / 449.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.1209, allocations: 0 / 449.8 MB, free: 10.52 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.001026/0.122, allocations: 0.6427 MB / 450.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.122, allocations: 11.89 kB / 450.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.1221, allocations: 32.56 kB / 450.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.1226, allocations: 311.3 kB / 450.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1227, allocations: 20.38 kB / 450.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.1227, allocations: 16 kB / 450.8 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.1231, allocations: 223.2 kB / 451 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1232, allocations: 0 / 451 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.1232, allocations: 8 kB / 451 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1232, allocations: 4 kB / 451 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.1237, allocations: 249.6 kB / 451.3 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1255, allocations: 1.325 MB / 452.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.1259, allocations: 170.7 kB / 452.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.1261, allocations: 80.83 kB / 452.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.1263, allocations: 182.1 kB / 453 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1264, allocations: 34.5 kB / 453 MB, free: 6.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.1264, allocations: 0 / 453 MB, free: 6.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.02891/0.1553, allocations: 2.727 MB / 455.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.1554, allocations: 55.41 kB / 455.8 MB, free: 4.062 MB / 334.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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.1562, allocations: 349.7 kB / 456.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.1562, allocations: 29.7 kB / 456.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1564, allocations: 176.7 kB / 456.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1565, allocations: 114.4 kB / 456.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.1568, allocations: 81.59 kB / 456.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.157, allocations: 346.8 kB / 456.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008658/0.1578, allocations: 283.8 kB / 457.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/0.1587, allocations: 326.8 kB / 457.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.1605, allocations: 0.5688 MB / 458.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1606, allocations: 4 kB / 458.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002989/0.1636, allocations: 0.9005 MB / 459 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1636, allocations: 7.938 kB / 459 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.1636, allocations: 0 / 459 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.166, allocations: 1.032 MB / 460 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.1663, allocations: 63.83 kB / 460.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/0.1723, allocations: 1.815 MB / 461.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.173, allocations: 40.06 kB / 461.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/0.1731, allocations: 35.84 kB / 462 MB, free: 13.8 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.0002716/0.1733, allocations: 149.8 kB / 462.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1735, allocations: 35.53 kB / 462.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/0.1772, allocations: 0.978 MB / 463.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1772, allocations: 7.938 kB / 463.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1772, allocations: 0 / 463.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.1775, allocations: 176.5 kB / 463.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.1776, allocations: 8 kB / 463.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.1782, allocations: 39.95 kB / 463.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.1783, allocations: 19.97 kB / 463.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006343/0.1847, allocations: 1.084 MB / 464.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00276/0.1875, allocations: 1.085 MB / 465.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008192/0.1883, allocations: 272.3 kB / 465.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.1886, allocations: 255.2 kB / 466 MB, free: 9.637 MB / 350.1 MB Notification: Performance of Backend: time 5.21e-07/0.1886, allocations: 0 / 466 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006189/0.1948, allocations: 1.037 MB / 467.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of SimCode: time 0.001474/0.1963, allocations: 1.149 MB / 468.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Templates: time 0.02524/0.2216, allocations: 15.79 MB / 484 MB, free: 7.727 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)