Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.445/1.445, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0568/0.0568, allocations: 11.84 MB / 281.6 MB, free: 9.438 MB / 238.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.001689/0.001689, allocations: 75.48 kB / 341.8 MB, free: 21.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.105, allocations: 49.23 MB / 391.1 MB, free: 4.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.005745/0.1108, allocations: 3.251 MB / 394.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.1139, allocations: 1.824 MB / 396.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.1142, allocations: 7.938 kB / 396.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.1147, allocations: 107.3 kB / 396.2 MB, free: 15.48 MB / 302.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.0005273/0.1152, allocations: 202.7 kB / 396.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.1159, allocations: 311.3 kB / 396.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.1164, allocations: 493.8 kB / 397.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.1166, allocations: 123.4 kB / 397.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.1169, allocations: 179.2 kB / 397.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.1172, allocations: 203.1 kB / 397.7 MB, free: 14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.1172, allocations: 35.94 kB / 397.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.1176, allocations: 231.8 kB / 398 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/0.1177, allocations: 91.67 kB / 398.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.1179, allocations: 199 kB / 398.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.1186, allocations: 0.5648 MB / 398.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1186, allocations: 0 / 398.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1186, allocations: 4 kB / 398.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.1186, allocations: 0 / 398.8 MB, free: 12.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001245/0.1199, allocations: 0.6934 MB / 399.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1199, allocations: 19.89 kB / 399.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.1201, allocations: 40.47 kB / 399.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.1205, allocations: 331.2 kB / 399.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1206, allocations: 32.48 kB / 399.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.1206, allocations: 24 kB / 400 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.1212, allocations: 319.6 kB / 400.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1212, allocations: 3.984 kB / 400.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.1213, allocations: 8 kB / 400.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.1213, allocations: 8 kB / 400.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.1218, allocations: 262.1 kB / 400.6 MB, free: 11.06 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1238, allocations: 1.481 MB / 402 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.1243, allocations: 222.5 kB / 402.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1244, allocations: 96.81 kB / 402.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.813e-05/0.1246, allocations: 89.11 kB / 402.4 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.1246, allocations: 39 kB / 402.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.1246, allocations: 0 / 402.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002238/0.1269, allocations: 0.8458 MB / 403.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1269, allocations: 67.27 kB / 403.4 MB, free: 7.973 MB / 302.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 sinusoid.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.000506/0.1274, allocations: 381.5 kB / 403.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1275, allocations: 29.7 kB / 403.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1276, allocations: 188.6 kB / 404 MB, free: 7.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.1277, allocations: 98.55 kB / 404.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.1278, allocations: 57.97 kB / 404.1 MB, free: 7.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.128, allocations: 338.8 kB / 404.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1282, allocations: 105.6 kB / 404.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.1285, allocations: 152.8 kB / 404.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.129, allocations: 259.5 kB / 405 MB, free: 6.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.129, allocations: 0 / 405 MB, free: 6.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006162/0.1296, allocations: 309.1 kB / 405.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.1297, allocations: 14.48 kB / 405.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.1297, allocations: 7.875 kB / 405.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.1297, allocations: 8.031 kB / 405.3 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.1301, allocations: 79.89 kB / 405.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1301, allocations: 4 kB / 405.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.1303, allocations: 15.98 kB / 405.4 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.1303, allocations: 12 kB / 405.4 MB, free: 5.855 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002806/0.1306, allocations: 169.8 kB / 405.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.1307, allocations: 35.53 kB / 405.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007048/0.1314, allocations: 317.4 kB / 405.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1314, allocations: 0 / 405.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1314, allocations: 0 / 405.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1314, allocations: 7.984 kB / 405.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.1326, allocations: 0.7636 MB / 406.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1326, allocations: 0 / 406.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.133, allocations: 75.95 kB / 406.8 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.133, allocations: 4 kB / 406.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.133, allocations: 8 kB / 406.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.133, allocations: 0 / 406.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.133, allocations: 3.984 kB / 406.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/0.1339, allocations: 0.4915 MB / 407.3 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.1341, allocations: 140.7 kB / 407.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.1341, allocations: 4.062 kB / 407.4 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.1343, allocations: 23.92 kB / 407.4 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.1344, allocations: 11.98 kB / 407.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.1345, allocations: 15.98 kB / 407.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.1348, allocations: 271.2 kB / 407.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1348, allocations: 0 / 407.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.1352, allocations: 108 kB / 407.8 MB, free: 3.324 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (30): * Single equations (assignments): 30 * 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.00108/0.1363, allocations: 422 kB / 408.2 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006258/0.137, allocations: 251.8 kB / 408.5 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.137, allocations: 0 / 408.5 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.1372, allocations: 119.9 kB / 408.6 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.1378, allocations: 117.6 kB / 408.7 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1393, allocations: 0.7915 MB / 409.5 MB, free: 1.715 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.1397, allocations: 0.7912 MB / 410.3 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.14, allocations: 59.23 kB / 410.4 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/0.1401, allocations: 39.42 kB / 410.4 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of SimCode: time 2.445e-06/0.1401, allocations: 0 / 410.4 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of Templates: time 0.01237/0.1525, allocations: 5.974 MB / 416.4 MB, free: 10.84 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)