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.0009274/0.0009271, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0009485/0.0009485, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05128/0.05128, allocations: 11.84 MB / 282.2 MB, free: 9.605 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.0006259/0.0006259, allocations: 20.22 kB / 343 MB, free: 22.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.08978, allocations: 50.21 MB / 393.2 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.004724/0.09455, allocations: 4.402 MB / 397.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003313/0.09789, allocations: 2.161 MB / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.09821, allocations: 8 kB / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.09866, allocations: 155.1 kB / 399.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008009/0.09947, allocations: 454.6 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.1003, allocations: 330.9 kB / 400.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007927/0.1011, allocations: 0.6744 MB / 401.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.1015, allocations: 222.3 kB / 401.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.1019, allocations: 294.9 kB / 401.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.1023, allocations: 326.7 kB / 402.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.1024, allocations: 28 kB / 402.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.1029, allocations: 207.8 kB / 402.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.103, allocations: 143.4 kB / 402.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1032, allocations: 169.3 kB / 402.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007744/0.104, allocations: 0.7637 MB / 403.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.104, allocations: 0 / 403.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.104, allocations: 0 / 403.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.104, allocations: 0 / 403.5 MB, free: 9.816 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.001473/0.1055, allocations: 0.9191 MB / 404.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1055, allocations: 8.031 kB / 404.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1056, allocations: 106.5 kB / 404.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.1058, allocations: 83.06 kB / 404.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.1065, allocations: 488.6 kB / 405.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.1066, allocations: 45.31 kB / 405.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/0.1067, allocations: 59.84 kB / 405.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009203/0.1076, allocations: 0.5492 MB / 405.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1076, allocations: 0 / 405.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.1077, allocations: 20 kB / 405.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1077, allocations: 15.95 kB / 405.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.1086, allocations: 0.536 MB / 406.3 MB, free: 6.895 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.003423/0.1121, allocations: 2.85 MB / 409.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.1131, allocations: 480 kB / 409.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.1133, allocations: 89.09 kB / 409.7 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1133, allocations: 38.56 kB / 409.7 MB, free: 3.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.1133, allocations: 0 / 409.7 MB, free: 3.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002455/0.1158, allocations: 1.25 MB / 411 MB, free: 1.805 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1158, allocations: 55.41 kB / 411 MB, free: 1.738 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.0007406/0.1166, allocations: 0.6471 MB / 411.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.1166, allocations: 33.7 kB / 411.7 MB, free: 1.043 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.1169, allocations: 324 kB / 412 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.117, allocations: 145.9 kB / 412.2 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.117, allocations: 12 kB / 412.2 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1172, allocations: 370.8 kB / 412.6 MB, free: 200 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.1175, allocations: 153 kB / 412.7 MB, free: 48 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.1179, allocations: 260.1 kB / 413 MB, free: 15.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.1182, allocations: 183 kB / 413.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1182, allocations: 7.953 kB / 413.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008877/0.1191, allocations: 0.5392 MB / 413.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1192, allocations: 4 kB / 413.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1192, allocations: 4 kB / 413.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1192, allocations: 4 kB / 413.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.1197, allocations: 123.7 kB / 413.8 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1197, allocations: 4 kB / 413.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.12, allocations: 36.11 kB / 413.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.1201, allocations: 27.97 kB / 413.9 MB, free: 14.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000398/0.1205, allocations: 265 kB / 414.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1206, allocations: 71.19 kB / 414.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1216, allocations: 0.5377 MB / 414.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1217, allocations: 4 kB / 414.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1217, allocations: 0 / 414.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1217, allocations: 3.984 kB / 414.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.1235, allocations: 1.221 MB / 416 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1235, allocations: 3.938 kB / 416 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.124, allocations: 107.9 kB / 416.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.124, allocations: 0 / 416.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.124, allocations: 19.98 kB / 416.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1241, allocations: 0 / 416.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1241, allocations: 0 / 416.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.1253, allocations: 0.7867 MB / 416.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.1255, allocations: 188.3 kB / 417.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/0.1256, allocations: 12 kB / 417.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.1259, allocations: 19.98 kB / 417.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.126, allocations: 32.48 kB / 417.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.126, allocations: 19.98 kB / 417.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005362/0.1266, allocations: 463 kB / 417.6 MB, free: 11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1266, allocations: 0 / 417.6 MB, free: 11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005604/0.1272, allocations: 183.9 kB / 417.8 MB, free: 10.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002246/0.1294, allocations: 1.635 MB / 419.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000784/0.1302, allocations: 418.6 kB / 419.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1302, allocations: 0 / 419.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.1306, allocations: 211.1 kB / 420 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000814/0.1314, allocations: 198.7 kB / 420.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.1351, allocations: 3.968 MB / 424.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.1356, allocations: 0.9526 MB / 425.2 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.136, allocations: 121.2 kB / 425.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.1363, allocations: 255.3 kB / 425.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1363, allocations: 0 / 425.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1749/0.3112, allocations: 15.34 MB / 440.9 MB, free: 36.3 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.3114, allocations: 226.8 kB / 441.1 MB, free: 36.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.202, allocations: 0 / 441.1 MB, free: 36.05 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/linux/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) Environment - environmentSimulation: