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.0008243/0.0008245, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005173/0.005173, allocations: 173 kB / 16.26 MB, free: 6.613 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.15/1.15, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04859/0.04859, allocations: 11.84 MB / 282.6 MB, free: 9.375 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.0005072/0.0005072, allocations: 20.22 kB / 343.6 MB, free: 22.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06706/0.06758, allocations: 50.22 MB / 393.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.00341/0.07102, allocations: 3.417 MB / 397.3 MB, free: 304 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.07355, allocations: 1.875 MB / 399.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.07382, allocations: 4 kB / 399.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.07416, allocations: 95.53 kB / 399.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.07462, allocations: 175 kB / 399.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.07527, allocations: 262 kB / 399.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.07577, allocations: 497.7 kB / 400.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.07595, allocations: 103.5 kB / 400.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.07614, allocations: 147.4 kB / 400.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.07637, allocations: 179.1 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.07641, allocations: 16 kB / 400.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.07676, allocations: 211.8 kB / 400.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.07684, allocations: 67.62 kB / 400.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.077, allocations: 208.7 kB / 401.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.07752, allocations: 0.549 MB / 401.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.07754, allocations: 7.938 kB / 401.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.07754, allocations: 0 / 401.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.07755, allocations: 0 / 401.6 MB, free: 11.93 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.0008292/0.07839, allocations: 0.6195 MB / 402.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.07843, allocations: 19.97 kB / 402.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.0785, allocations: 66.66 kB / 402.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.07862, allocations: 40.47 kB / 402.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.07899, allocations: 331.2 kB / 402.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.07902, allocations: 20.56 kB / 402.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.07907, allocations: 27.98 kB / 402.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.07958, allocations: 319.6 kB / 403 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.07961, allocations: 0 / 403 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.07964, allocations: 16 kB / 403.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.07965, allocations: 8 kB / 403.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.08012, allocations: 262.1 kB / 403.3 MB, free: 10.11 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.001701/0.08184, allocations: 1.488 MB / 404.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.08223, allocations: 241 kB / 405 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.08241, allocations: 92.83 kB / 405.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.192e-05/0.0825, allocations: 89.09 kB / 405.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.08253, allocations: 34.56 kB / 405.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.08253, allocations: 0 / 405.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001942/0.08448, allocations: 0.9032 MB / 406.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.08452, allocations: 59.34 kB / 406.2 MB, free: 6.953 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.0003816/0.08491, allocations: 377.6 kB / 406.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.08494, allocations: 29.7 kB / 406.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.08506, allocations: 188.5 kB / 406.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.08513, allocations: 94.64 kB / 406.9 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.08518, allocations: 33.7 kB / 406.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.08529, allocations: 346.8 kB / 407.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.0855, allocations: 105.3 kB / 407.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.08573, allocations: 164.7 kB / 407.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.08617, allocations: 267.5 kB / 407.8 MB, free: 5.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.08618, allocations: 0 / 407.8 MB, free: 5.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005481/0.08673, allocations: 324.8 kB / 408.1 MB, free: 4.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.08676, allocations: 11.94 kB / 408.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.08677, allocations: 0 / 408.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.08679, allocations: 7.984 kB / 408.1 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.08713, allocations: 88.11 kB / 408.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.08714, allocations: 4 kB / 408.2 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.08732, allocations: 15.98 kB / 408.2 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.08735, allocations: 8 kB / 408.2 MB, free: 4.832 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.0001821/0.08754, allocations: 170.2 kB / 408.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.0876, allocations: 35.56 kB / 408.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.08823, allocations: 329.9 kB / 408.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.08824, allocations: 3.938 kB / 408.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-06/0.08825, allocations: 11.94 kB / 408.8 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.08826, allocations: 3.984 kB / 408.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009708/0.08924, allocations: 0.7678 MB / 409.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.08925, allocations: 0 / 409.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.08957, allocations: 79.95 kB / 409.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.08959, allocations: 0 / 409.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.08961, allocations: 8 kB / 409.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.08962, allocations: 3.984 kB / 409.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.08963, allocations: 3.938 kB / 409.6 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.09037, allocations: 0.495 MB / 410.1 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.09051, allocations: 144.6 kB / 410.3 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.09056, allocations: 4 kB / 410.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.09076, allocations: 19.98 kB / 410.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.09082, allocations: 15.97 kB / 410.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.09085, allocations: 20.06 kB / 410.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.09111, allocations: 275.2 kB / 410.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09112, allocations: 0 / 410.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.0915, allocations: 112 kB / 410.7 MB, free: 2.246 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.001705/0.09321, allocations: 1.363 MB / 412.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004718/0.0937, allocations: 236.1 kB / 412.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.09371, allocations: 8 kB / 412.3 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.09393, allocations: 127.9 kB / 412.4 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.09445, allocations: 93.31 kB / 412.5 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.0986, allocations: 3.73 MB / 416.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.09891, allocations: 0.7912 MB / 417.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.09913, allocations: 71.22 kB / 417.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.0993, allocations: 127.3 kB / 417.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.09931, allocations: 4 kB / 417.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.1171, allocations: 9.092 MB / 426.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.1173, allocations: 239.2 kB / 426.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/1.808, allocations: 0 / 426.6 MB, free: 2.293 MB / 318.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)