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.001179/0.001179, allocations: 109.7 kB / 16.41 MB, free: 6.48 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.001111/0.001111, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.274/1.274, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05671/0.05671, allocations: 11.85 MB / 282.4 MB, free: 204 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.001555/0.001555, allocations: 68.52 kB / 393 MB, free: 45.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06492/0.06648, allocations: 49.23 MB / 442.2 MB, free: 2.074 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. [/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) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.002995/0.06951, allocations: 2.606 MB / 444.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.07204, allocations: 1.967 MB / 446.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.07217, allocations: 7.938 kB / 446.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.0724, allocations: 59.53 kB / 446.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.07265, allocations: 115 kB / 447 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.07339, allocations: 374.6 kB / 447.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.07369, allocations: 314.3 kB / 447.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.07387, allocations: 102.2 kB / 447.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.07403, allocations: 103.7 kB / 447.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.07419, allocations: 123.4 kB / 448 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.07424, allocations: 23.94 kB / 448 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.07456, allocations: 187.8 kB / 448.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.07462, allocations: 47.78 kB / 448.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.07475, allocations: 131.3 kB / 448.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.07522, allocations: 362.6 kB / 448.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.07523, allocations: 0 / 448.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.07524, allocations: 0 / 448.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.07525, allocations: 0 / 448.7 MB, free: 11.55 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.0006867/0.07594, allocations: 0.5641 MB / 449.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.07598, allocations: 15.89 kB / 449.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.07605, allocations: 24.8 kB / 449.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.07634, allocations: 267.8 kB / 449.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.07636, allocations: 12.38 kB / 449.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.0764, allocations: 20.12 kB / 449.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.07678, allocations: 219.6 kB / 449.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.0768, allocations: 0 / 449.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.07682, allocations: 8 kB / 449.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.07684, allocations: 4 kB / 449.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.07719, allocations: 159.9 kB / 450 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.07856, allocations: 1.204 MB / 451.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.07895, allocations: 110.6 kB / 451.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.07908, allocations: 48.77 kB / 451.4 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.172e-05/0.07918, allocations: 85.11 kB / 451.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.07921, allocations: 42.5 kB / 451.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.845e-06/0.07922, allocations: 7.922 kB / 451.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.002214/0.08144, allocations: 0.5128 MB / 452 MB, free: 7.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.08147, allocations: 51.41 kB / 452.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.08173, allocations: 258.7 kB / 452.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.08176, allocations: 29.7 kB / 452.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.08186, allocations: 164.3 kB / 452.5 MB, free: 7.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.08191, allocations: 47.58 kB / 452.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.08199, allocations: 41.7 kB / 452.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.08211, allocations: 330.8 kB / 452.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.08231, allocations: 63.95 kB / 453 MB, free: 6.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.08253, allocations: 103 kB / 453.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.08293, allocations: 176.1 kB / 453.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.08294, allocations: 4 kB / 453.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004944/0.08344, allocations: 229 kB / 453.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.08346, allocations: 8 kB / 453.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.08347, allocations: 0 / 453.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.08349, allocations: 0 / 453.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.08371, allocations: 48.03 kB / 453.5 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.08373, allocations: 8.328 kB / 453.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.08389, allocations: 19.92 kB / 453.6 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.08391, allocations: 7.984 kB / 453.6 MB, free: 6.328 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.0001164/0.08403, allocations: 137.7 kB / 453.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.08408, allocations: 23.8 kB / 453.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.08459, allocations: 199.3 kB / 453.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.0846, allocations: 0 / 453.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.08461, allocations: 4 kB / 453.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.0847, allocations: 108.9 kB / 454 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.08475, allocations: 8 kB / 454 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.08492, allocations: 7.984 kB / 454 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.08497, allocations: 7.984 kB / 454 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005539/0.08553, allocations: 272.8 kB / 454.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004731/0.08602, allocations: 346.6 kB / 454.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001797/0.08621, allocations: 71.89 kB / 454.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.08639, allocations: 186 kB / 454.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.0864, allocations: 0 / 454.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007319/0.08713, allocations: 246 kB / 455.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008624/0.08801, allocations: 0.8738 MB / 456 MB, free: 3.754 MB / 334.1 MB Notification: Performance of Templates: time 0.007602/0.09562, allocations: 4.191 MB / 460.2 MB, free: 15.59 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)