Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 112.2 kB / 16.42 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.001671/0.001671, allocations: 187.9 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.447/1.447, 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.05424/0.05425, allocations: 11.85 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.001796/0.001796, allocations: 68.66 kB / 393 MB, free: 45.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07738/0.07919, allocations: 49.23 MB / 442.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003496/0.08272, allocations: 2.595 MB / 444.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.08632, allocations: 1.974 MB / 446.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.08686, allocations: 4 kB / 446.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.08738, allocations: 59.48 kB / 446.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005574/0.08796, allocations: 103.1 kB / 447 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.08946, allocations: 390.4 kB / 447.4 MB, free: 12.95 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine1.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.0005405/0.09001, allocations: 305.2 kB / 447.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.09031, allocations: 102.2 kB / 447.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.09057, allocations: 111.6 kB / 447.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.09083, allocations: 115.4 kB / 448 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.09089, allocations: 20 kB / 448 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.09143, allocations: 187.8 kB / 448.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.0915, allocations: 51.77 kB / 448.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.09171, allocations: 131.4 kB / 448.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.09243, allocations: 362.9 kB / 448.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.09245, allocations: 0 / 448.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.09247, allocations: 0 / 448.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.09249, allocations: 0 / 448.7 MB, free: 11.59 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001033/0.09353, allocations: 0.5413 MB / 449.3 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.0936, allocations: 15.89 kB / 449.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.09369, allocations: 28.56 kB / 449.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.09423, allocations: 275.6 kB / 449.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.09426, allocations: 8.375 kB / 449.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.09432, allocations: 20.12 kB / 449.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.09492, allocations: 215.7 kB / 449.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.09495, allocations: 0 / 449.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.09499, allocations: 12 kB / 449.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.09501, allocations: 4 kB / 449.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.09552, allocations: 155.9 kB / 450 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.09749, allocations: 1.212 MB / 451.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.09806, allocations: 110.6 kB / 451.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.09827, allocations: 44.83 kB / 451.3 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.0984, allocations: 81.11 kB / 451.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.09845, allocations: 50.44 kB / 451.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/0.09847, allocations: 0 / 451.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.003321/0.1018, allocations: 0.5159 MB / 452 MB, free: 8.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1019, allocations: 51.41 kB / 452 MB, free: 7.941 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 sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/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.0004464/0.1023, allocations: 258.6 kB / 452.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1024, allocations: 29.7 kB / 452.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1025, allocations: 167.9 kB / 452.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.1026, allocations: 39.45 kB / 452.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1027, allocations: 41.64 kB / 452.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1029, allocations: 334.8 kB / 452.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.1032, allocations: 63.95 kB / 452.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.1035, allocations: 96.25 kB / 453 MB, free: 6.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.1041, allocations: 176.2 kB / 453.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1042, allocations: 4 kB / 453.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007143/0.1049, allocations: 221.1 kB / 453.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1049, allocations: 8 kB / 453.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1049, allocations: 0 / 453.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.105, allocations: 0 / 453.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.1053, allocations: 56.02 kB / 453.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1053, allocations: 7.938 kB / 453.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.1055, allocations: 11.98 kB / 453.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.1056, allocations: 12 kB / 453.5 MB, free: 6.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.1058, allocations: 133.8 kB / 453.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.1058, allocations: 23.66 kB / 453.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007478/0.1066, allocations: 199.3 kB / 453.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1066, allocations: 0 / 453.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1066, allocations: 7.984 kB / 453.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.1068, allocations: 104.8 kB / 454 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.1069, allocations: 4 kB / 454 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.1071, allocations: 11.98 kB / 454 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.1072, allocations: 11.98 kB / 454 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008189/0.1081, allocations: 268.7 kB / 454.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000756/0.1088, allocations: 346.4 kB / 454.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002887/0.1091, allocations: 67.94 kB / 454.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002737/0.1094, allocations: 186 kB / 454.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of Backend: time 8.11e-07/0.1094, allocations: 0 / 454.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.1107, allocations: 242.2 kB / 455.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of SimCode: time 0.001713/0.1124, allocations: 0.8782 MB / 456 MB, free: 3.812 MB / 334.1 MB Notification: Performance of Templates: time 0.01321/0.1256, allocations: 4.277 MB / 460.3 MB, free: 15.57 MB / 350.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)