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.006634/0.006635, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001275/0.001275, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.393/1.393, allocations: 205.1 MB / 222.5 MB, free: 4.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05633/0.05633, allocations: 11.84 MB / 281.7 MB, free: 9.309 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.001536/0.001536, allocations: 67.91 kB / 392.3 MB, free: 3.457 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.23, allocations: 49.22 MB / 441.6 MB, free: 4.398 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 sinusoid.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.CheckValveTest): time 0.004631/0.2347, allocations: 3.255 MB / 444.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.2374, allocations: 1.832 MB / 446.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.2376, allocations: 3.438 kB / 446.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.238, allocations: 98.94 kB / 446.7 MB, free: 0.7773 MB / 318.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.0005593/0.2386, allocations: 211.2 kB / 447 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008097/0.2394, allocations: 322.7 kB / 447.3 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.24, allocations: 0.4956 MB / 447.8 MB, free: 220 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.2402, allocations: 124.6 kB / 447.9 MB, free: 156 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.2405, allocations: 178.4 kB / 448.1 MB, free: 72 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.2408, allocations: 200.2 kB / 448.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.2408, allocations: 31.41 kB / 448.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.2413, allocations: 232.4 kB / 448.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2414, allocations: 84.12 kB / 448.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.2416, allocations: 209.4 kB / 448.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.2424, allocations: 0.5782 MB / 449.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2424, allocations: 0 / 449.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2424, allocations: 0 / 449.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2424, allocations: 0 / 449.4 MB, free: 15.34 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009915/0.2434, allocations: 0.6921 MB / 450.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2434, allocations: 13.73 kB / 450.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.2436, allocations: 46.53 kB / 450.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.244, allocations: 331.7 kB / 450.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.244, allocations: 31.44 kB / 450.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.244, allocations: 27.38 kB / 450.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.2446, allocations: 316 kB / 450.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2446, allocations: 0 / 450.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.2446, allocations: 10.75 kB / 450.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2446, allocations: 10.86 kB / 450.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.2451, allocations: 267.3 kB / 451.1 MB, free: 14.01 MB / 334.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.001868/0.247, allocations: 1.459 MB / 452.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.2474, allocations: 225.2 kB / 452.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.2476, allocations: 95.39 kB / 452.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.06e-05/0.2477, allocations: 90.58 kB / 453 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.2477, allocations: 37.31 kB / 453 MB, free: 12.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.2477, allocations: 0 / 453 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.00201/0.2498, allocations: 0.8582 MB / 453.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2498, allocations: 65.59 kB / 453.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.2502, allocations: 372.1 kB / 454.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.2503, allocations: 30.77 kB / 454.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2504, allocations: 194 kB / 454.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.2505, allocations: 90.17 kB / 454.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.2506, allocations: 63.59 kB / 454.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2507, allocations: 341.9 kB / 455 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2509, allocations: 112.4 kB / 455.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.2512, allocations: 150.1 kB / 455.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.2516, allocations: 252 kB / 455.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2516, allocations: 0 / 455.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005907/0.2522, allocations: 321.8 kB / 455.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2523, allocations: 5.781 kB / 455.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2523, allocations: 6.75 kB / 455.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2523, allocations: 3.5 kB / 455.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.2527, allocations: 88.16 kB / 455.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2527, allocations: 7.656 kB / 455.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.2529, allocations: 10.44 kB / 455.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.2529, allocations: 17.64 kB / 455.9 MB, free: 10.17 MB / 334.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.0002049/0.2531, allocations: 165.1 kB / 456.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.2532, allocations: 36.66 kB / 456.1 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006541/0.2539, allocations: 310 kB / 456.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2539, allocations: 7.766 kB / 456.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2539, allocations: 0 / 456.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2539, allocations: 7.984 kB / 456.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.255, allocations: 0.7506 MB / 457.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.255, allocations: 0 / 457.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.2553, allocations: 85.66 kB / 457.3 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2554, allocations: 2.469 kB / 457.3 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.2554, allocations: 6.781 kB / 457.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2554, allocations: 1.5 kB / 457.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2554, allocations: 0 / 457.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.2562, allocations: 0.4969 MB / 457.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.2564, allocations: 139.2 kB / 457.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.2564, allocations: 9.688 kB / 457.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.2566, allocations: 10.02 kB / 458 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.2567, allocations: 25.09 kB / 458 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.2567, allocations: 10.47 kB / 458 MB, free: 8.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002776/0.257, allocations: 274.2 kB / 458.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.257, allocations: 0 / 458.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004519/0.2575, allocations: 111.2 kB / 458.4 MB, free: 8.496 MB / 334.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.000942/0.2584, allocations: 415.9 kB / 458.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005347/0.259, allocations: 226.5 kB / 459 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.259, allocations: 1.562 kB / 459 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.2592, allocations: 129.2 kB / 459.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.2598, allocations: 110.4 kB / 459.2 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.2611, allocations: 0.7676 MB / 460 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.2615, allocations: 0.7955 MB / 460.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.2617, allocations: 53.84 kB / 460.8 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.2618, allocations: 38.33 kB / 460.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of SimCode: time 2.184e-06/0.2618, allocations: 5.156 kB / 460.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of Templates: time 0.01082/0.2726, allocations: 6.038 MB / 466.9 MB, free: 1.418 MB / 334.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)