Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001161/0.001162, allocations: 198.5 kB / 16.14 MB, free: 6.715 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.126/1.126, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04898/0.04898, allocations: 11.83 MB / 281.2 MB, free: 9.887 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.001295/0.001295, allocations: 63.89 kB / 341.2 MB, free: 22.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06269/0.064, allocations: 49.24 MB / 390.5 MB, free: 5.074 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005456/0.06948, allocations: 5.512 MB / 396 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.07208, allocations: 2.311 MB / 398.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.07229, allocations: 15.94 kB / 398.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.07266, allocations: 155.2 kB / 398.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004694/0.07314, allocations: 306.2 kB / 398.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000646/0.0738, allocations: 379.1 kB / 399.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007314/0.07454, allocations: 1.023 MB / 400.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.07485, allocations: 278.8 kB / 400.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.07515, allocations: 318.6 kB / 400.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.0755, allocations: 394.2 kB / 401.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.07558, allocations: 36 kB / 401.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.07594, allocations: 231.8 kB / 401.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.07608, allocations: 163.2 kB / 401.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.07637, allocations: 374 kB / 401.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000769/0.07715, allocations: 1.009 MB / 402.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.07716, allocations: 0 / 402.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.07717, allocations: 0 / 402.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.07718, allocations: 0 / 402.9 MB, free: 8.57 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001318/0.0785, allocations: 1.048 MB / 404 MB, free: 7.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.07854, allocations: 8.031 kB / 404 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/0.07864, allocations: 102.7 kB / 404.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.0788, allocations: 83.98 kB / 404.2 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.07936, allocations: 0.5012 MB / 404.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.07941, allocations: 45.31 kB / 404.7 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.07949, allocations: 52 kB / 404.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008513/0.08035, allocations: 0.5569 MB / 405.3 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.08037, allocations: 7.906 kB / 405.3 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.08042, allocations: 20 kB / 405.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.08044, allocations: 12 kB / 405.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008519/0.08129, allocations: 0.5283 MB / 405.9 MB, free: 5.504 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.002823/0.08412, allocations: 2.843 MB / 408.7 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.08479, allocations: 447.5 kB / 409.2 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.0851, allocations: 196.7 kB / 409.3 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.275e-05/0.08521, allocations: 93.08 kB / 409.4 MB, free: 1.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.08524, allocations: 38.56 kB / 409.5 MB, free: 1.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.432e-06/0.08525, allocations: 0 / 409.5 MB, free: 1.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002159/0.08741, allocations: 1.241 MB / 410.7 MB, free: 272 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.08746, allocations: 55.41 kB / 410.8 MB, free: 204 kB / 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.0006314/0.08809, allocations: 0.6485 MB / 411.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.08814, allocations: 37.7 kB / 411.5 MB, free: 15.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.08832, allocations: 324 kB / 411.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/0.08842, allocations: 145.8 kB / 411.9 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.08855, allocations: 98.14 kB / 412 MB, free: 14.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.08868, allocations: 374.8 kB / 412.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.08896, allocations: 157 kB / 412.5 MB, free: 14.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.0893, allocations: 260.1 kB / 412.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.09214, allocations: 0.941 MB / 413.7 MB, free: 13.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.09216, allocations: 3.938 kB / 413.7 MB, free: 13.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008198/0.09298, allocations: 0.531 MB / 414.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.09301, allocations: 4 kB / 414.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.09302, allocations: 4.344 kB / 414.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.09304, allocations: 11.98 kB / 414.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.09348, allocations: 115.9 kB / 414.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.0935, allocations: 11.94 kB / 414.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.09376, allocations: 19.98 kB / 414.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.09381, allocations: 23.98 kB / 414.4 MB, free: 12.4 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))) start = j1.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0002934/0.09411, allocations: 269.4 kB / 414.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.09421, allocations: 71.09 kB / 414.8 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009269/0.09514, allocations: 0.5261 MB / 415.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.09515, allocations: 8 kB / 415.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.09516, allocations: 0 / 415.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.09517, allocations: 0 / 415.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.09673, allocations: 1.228 MB / 416.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.09674, allocations: 0 / 416.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.09719, allocations: 103.9 kB / 416.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.0972, allocations: 4 kB / 416.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.09724, allocations: 11.98 kB / 416.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.09725, allocations: 7.938 kB / 416.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.09725, allocations: 4 kB / 416.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.09835, allocations: 0.7712 MB / 417.4 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.09855, allocations: 188.2 kB / 417.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.09864, allocations: 12 kB / 417.6 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.09892, allocations: 19.97 kB / 417.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.099, allocations: 32.41 kB / 417.7 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.09903, allocations: 19.98 kB / 417.7 MB, free: 9.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004493/0.09949, allocations: 471 kB / 418.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09949, allocations: 0 / 418.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004705/0.09997, allocations: 183.9 kB / 418.3 MB, free: 8.398 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.002012/0.102, allocations: 1.626 MB / 420 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006703/0.1027, allocations: 418.6 kB / 420.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1027, allocations: 0 / 420.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.103, allocations: 218.3 kB / 420.6 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/0.1038, allocations: 207.3 kB / 420.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1157/0.2195, allocations: 6.145 MB / 426.9 MB, free: 40.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.2199, allocations: 0.9368 MB / 427.9 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000475/0.2204, allocations: 117.7 kB / 428 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.2207, allocations: 251.3 kB / 428.2 MB, free: 39.66 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2207, allocations: 0 / 428.2 MB, free: 39.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.2471, allocations: 16.16 MB / 444.4 MB, free: 34.13 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/0.2472, allocations: 247.4 kB / 444.6 MB, free: 33.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.128, allocations: 8 kB / 444.7 MB, free: 33.87 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1)