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.005765/0.005765, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.001205/0.001205, allocations: 189.4 kB / 16.67 MB, free: 5.523 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.466/1.466, allocations: 205.1 MB / 222.5 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.05334/0.05334, allocations: 11.85 MB / 281.8 MB, free: 216 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.001523/0.001523, allocations: 78.92 kB / 392.3 MB, free: 45.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 49.23 MB / 441.6 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. [/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.003433/0.1053, allocations: 2.604 MB / 444.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.1081, allocations: 1.978 MB / 446.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.1083, allocations: 4 kB / 446.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.1086, allocations: 63.47 kB / 446.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.1089, allocations: 107.1 kB / 446.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.1098, allocations: 385.3 kB / 446.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.1101, allocations: 310.3 kB / 447 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.1104, allocations: 94.25 kB / 447.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.1106, allocations: 111.6 kB / 447.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1108, allocations: 119.4 kB / 447.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.1108, allocations: 20 kB / 447.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.1111, allocations: 183.8 kB / 447.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.1112, allocations: 43.8 kB / 447.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.1113, allocations: 143.3 kB / 447.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.1118, allocations: 354.9 kB / 448 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1118, allocations: 3.984 kB / 448 MB, free: 11.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1118, allocations: 4 kB / 448 MB, free: 11.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1118, allocations: 4 kB / 448 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.000802/0.1126, allocations: 0.549 MB / 448.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1127, allocations: 11.89 kB / 448.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1128, allocations: 24.66 kB / 448.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1131, allocations: 267.6 kB / 448.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1131, allocations: 12.38 kB / 448.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.1132, allocations: 24.12 kB / 448.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.1136, allocations: 215.7 kB / 449.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1136, allocations: 4 kB / 449.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.1136, allocations: 4 kB / 449.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1136, allocations: 4 kB / 449.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.114, allocations: 159.8 kB / 449.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.1154, allocations: 1.204 MB / 450.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.1158, allocations: 106.6 kB / 450.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1159, allocations: 52.77 kB / 450.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.625e-05/0.1161, allocations: 89.25 kB / 450.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1161, allocations: 34.5 kB / 450.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.1161, allocations: 3.938 kB / 450.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.002064/0.1182, allocations: 0.508 MB / 451.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1182, allocations: 59.41 kB / 451.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.1185, allocations: 254.6 kB / 451.6 MB, free: 7.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1185, allocations: 33.7 kB / 451.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1186, allocations: 163.9 kB / 451.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.1187, allocations: 39.44 kB / 451.8 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.1188, allocations: 41.69 kB / 451.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1189, allocations: 330.8 kB / 452.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.1191, allocations: 63.95 kB / 452.3 MB, free: 6.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1193, allocations: 108.2 kB / 452.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.1197, allocations: 172.1 kB / 452.5 MB, free: 6.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1197, allocations: 0 / 452.5 MB, free: 6.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004814/0.1202, allocations: 225.2 kB / 452.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1202, allocations: 8 kB / 452.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1202, allocations: 0 / 452.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1202, allocations: 4 kB / 452.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.1204, allocations: 43.91 kB / 452.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1205, allocations: 3.984 kB / 452.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1206, allocations: 24.05 kB / 452.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.1206, allocations: 8 kB / 452.8 MB, free: 6.359 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.0001316/0.1208, allocations: 137.7 kB / 453 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.1208, allocations: 27.66 kB / 453 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.1213, allocations: 187.3 kB / 453.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1213, allocations: 4 kB / 453.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1213, allocations: 0 / 453.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1213, allocations: 0 / 453.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.1217, allocations: 285.5 kB / 453.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.1217, allocations: 4 kB / 453.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1218, allocations: 35.91 kB / 453.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1219, allocations: 0 / 453.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1219, allocations: 3.984 kB / 453.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1219, allocations: 0 / 453.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1219, allocations: 0 / 453.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.1223, allocations: 283.1 kB / 453.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1225, allocations: 108.8 kB / 453.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.1225, allocations: 8 kB / 453.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1227, allocations: 7.984 kB / 453.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.1227, allocations: 11.98 kB / 453.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1227, allocations: 8 kB / 453.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.1229, allocations: 186 kB / 454.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1229, allocations: 0 / 454.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005698/0.1235, allocations: 87.92 kB / 454.2 MB, free: 4.898 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0003164/0.1238, allocations: 171.1 kB / 454.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005278/0.1244, allocations: 163.4 kB / 454.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1244, allocations: 0 / 454.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.1246, allocations: 75.88 kB / 454.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.1251, allocations: 69.42 kB / 454.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1261, allocations: 444.6 kB / 455.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1265, allocations: 0.744 MB / 455.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1267, allocations: 30.88 kB / 455.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.1267, allocations: 23.42 kB / 455.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1267, allocations: 4 kB / 455.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Templates: time 0.008841/0.1356, allocations: 3.783 MB / 459.7 MB, free: 15.39 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)