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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005981/0.005981, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001372/0.001372, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.304/1.304, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05666/0.05666, allocations: 11.85 MB / 281.8 MB, free: 9.328 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.002061/0.002061, allocations: 67.91 kB / 391.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2459, allocations: 49.24 MB / 441.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004291/0.2503, allocations: 3.242 MB / 444.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2527, allocations: 1.83 MB / 446.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.2529, allocations: 7.406 kB / 446.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.2533, allocations: 103.2 kB / 446.3 MB, free: 0.5273 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.0004451/0.2538, allocations: 193 kB / 446.5 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.2544, allocations: 328 kB / 446.8 MB, free: 240 kB / 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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0005448/0.255, allocations: 0.4901 MB / 447.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.2552, allocations: 124.1 kB / 447.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.2555, allocations: 184.5 kB / 447.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.2558, allocations: 200.4 kB / 447.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.2559, allocations: 31.41 kB / 447.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.2564, allocations: 230.9 kB / 448 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2565, allocations: 88.7 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.2567, allocations: 203 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007962/0.2575, allocations: 0.582 MB / 448.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2575, allocations: 0 / 448.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2575, allocations: 0 / 448.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.2576, allocations: 0 / 448.9 MB, free: 15.2 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.001143/0.2587, allocations: 0.707 MB / 449.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2588, allocations: 12.36 kB / 449.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.716e-05/0.2588, allocations: 68.47 kB / 449.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.259, allocations: 46.22 kB / 449.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.2594, allocations: 334.8 kB / 450 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.2595, allocations: 23.61 kB / 450.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.2595, allocations: 33.72 kB / 450.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.2601, allocations: 313.8 kB / 450.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.2601, allocations: 0 / 450.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.2601, allocations: 11.06 kB / 450.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2601, allocations: 7.5 kB / 450.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.2607, allocations: 260 kB / 450.7 MB, free: 13.79 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.001983/0.2627, allocations: 1.477 MB / 452.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.2631, allocations: 220.5 kB / 452.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.2633, allocations: 100.4 kB / 452.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.2634, allocations: 91.16 kB / 452.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.2634, allocations: 35.88 kB / 452.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.2634, allocations: 0 / 452.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.0021/0.2655, allocations: 0.863 MB / 453.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.2656, allocations: 66.08 kB / 453.5 MB, free: 11.42 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 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.0004413/0.2661, allocations: 376.4 kB / 453.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.2661, allocations: 35.05 kB / 453.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2662, allocations: 190.1 kB / 454.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/0.2663, allocations: 102.9 kB / 454.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.2664, allocations: 58.08 kB / 454.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2666, allocations: 344.1 kB / 454.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.2668, allocations: 99.48 kB / 454.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.2671, allocations: 153.8 kB / 454.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.2676, allocations: 262.9 kB / 455.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2676, allocations: 1.094 kB / 455.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006114/0.2682, allocations: 317.3 kB / 455.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2682, allocations: 14.84 kB / 455.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2683, allocations: 2.281 kB / 455.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2683, allocations: 3.094 kB / 455.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.2686, allocations: 77.36 kB / 455.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2686, allocations: 3.781 kB / 455.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2688, allocations: 17.86 kB / 455.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2688, allocations: 13.03 kB / 455.5 MB, free: 9.926 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.0002134/0.2691, allocations: 169.9 kB / 455.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.2691, allocations: 40.39 kB / 455.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/0.2698, allocations: 317.7 kB / 456.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2698, allocations: 3.344 kB / 456.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2698, allocations: 0 / 456.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2699, allocations: 5.109 kB / 456.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.271, allocations: 0.7465 MB / 456.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.271, allocations: 0 / 456.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.2713, allocations: 74.08 kB / 456.9 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2714, allocations: 1.344 kB / 456.9 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.2714, allocations: 10.25 kB / 456.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2714, allocations: 1.281 kB / 456.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2714, allocations: 5.5 kB / 456.9 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/0.2722, allocations: 0.5052 MB / 457.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.2724, allocations: 134.7 kB / 457.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.2725, allocations: 9.422 kB / 457.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.2726, allocations: 17.8 kB / 457.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.2727, allocations: 17.83 kB / 457.6 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2727, allocations: 10.48 kB / 457.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002855/0.273, allocations: 274.4 kB / 457.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.273, allocations: 0 / 457.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.2735, allocations: 119.7 kB / 458 MB, free: 8.238 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.002379/0.2759, allocations: 1.337 MB / 459.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.2764, allocations: 234.9 kB / 459.5 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2764, allocations: 4 kB / 459.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.2767, allocations: 118.8 kB / 459.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.2772, allocations: 110.6 kB / 459.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.2818, allocations: 3.497 MB / 463.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.2823, allocations: 0.8013 MB / 464.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.2825, allocations: 59.23 kB / 464.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.2827, allocations: 123.4 kB / 464.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2827, allocations: 0 / 464.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.3159, allocations: 9.839 MB / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.604, allocations: 8.562 kB / 474.1 MB, free: 9.68 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)