Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",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.0009477/0.0009477, allocations: 99.55 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.0008999/0.0008999, 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.349/1.349, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05196/0.05196, allocations: 11.85 MB / 282.2 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.0005758/0.0005758, allocations: 22.56 kB / 343 MB, free: 22.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07665/0.07723, allocations: 50.21 MB / 393.2 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002688/0.07995, allocations: 2.402 MB / 395.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.08106, allocations: 0.718 MB / 396.3 MB, free: 1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.08119, allocations: 4 kB / 396.3 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.001e-05/0.08124, allocations: 23.77 kB / 396.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.0816, allocations: 159.5 kB / 396.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.08174, allocations: 43.89 kB / 396.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.08196, allocations: 171.7 kB / 396.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.08209, allocations: 49.62 kB / 396.8 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.08221, allocations: 79.7 kB / 396.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.08235, allocations: 91.61 kB / 396.9 MB, free: 396 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.08238, allocations: 8 kB / 396.9 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.041e-05/0.08246, allocations: 20 kB / 397 MB, free: 368 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.0825, allocations: 27.89 kB / 397 MB, free: 340 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.08256, allocations: 69.58 kB / 397 MB, free: 264 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.08272, allocations: 139.9 kB / 397.2 MB, free: 124 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.08273, allocations: 0 / 397.2 MB, free: 124 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08274, allocations: 0 / 397.2 MB, free: 124 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.08275, allocations: 0 / 397.2 MB, free: 124 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005451/0.0833, allocations: 480.4 kB / 397.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.08334, allocations: 12.02 kB / 397.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.0834, allocations: 54.55 kB / 397.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.0835, allocations: 27.59 kB / 397.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.08377, allocations: 218.7 kB / 398 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.08379, allocations: 16 kB / 398 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.08383, allocations: 12 kB / 398 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.08414, allocations: 191.7 kB / 398.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.08416, allocations: 0 / 398.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.08419, allocations: 4 kB / 398.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.0842, allocations: 8 kB / 398.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.08447, allocations: 128.9 kB / 398.3 MB, free: 14.88 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.001076/0.08555, allocations: 0.9375 MB / 399.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.08591, allocations: 165.2 kB / 399.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.08594, allocations: 3.938 kB / 399.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.08597, allocations: 38.56 kB / 399.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.08598, allocations: 0 / 399.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00169/0.08767, allocations: 0.7802 MB / 400.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.08772, allocations: 89.05 kB / 400.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.08787, allocations: 174.7 kB / 400.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.0879, allocations: 29.7 kB / 400.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.08798, allocations: 132.3 kB / 400.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.08803, allocations: 67 kB / 400.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.08805, allocations: 4 kB / 400.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.08816, allocations: 326.8 kB / 401 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.0883, allocations: 72.95 kB / 401.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.08846, allocations: 100.2 kB / 401.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.08863, allocations: 91.88 kB / 401.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.08864, allocations: 0 / 401.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003815/0.08903, allocations: 246.9 kB / 401.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.08907, allocations: 29.7 kB / 401.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.08908, allocations: 3.938 kB / 401.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.0891, allocations: 4 kB / 401.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.08935, allocations: 60.05 kB / 401.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.08937, allocations: 4 kB / 401.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.08951, allocations: 15.95 kB / 401.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.08953, allocations: 11.98 kB / 401.7 MB, free: 11.23 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001771/0.08972, allocations: 159.5 kB / 401.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.08976, allocations: 15.81 kB / 401.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.09024, allocations: 269.1 kB / 402.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.09025, allocations: 4 kB / 402.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.09026, allocations: 0 / 402.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.09027, allocations: 4 kB / 402.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.091, allocations: 0.5782 MB / 402.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.09101, allocations: 0 / 402.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.09127, allocations: 63.84 kB / 402.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.09128, allocations: 3.984 kB / 402.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.09131, allocations: 4 kB / 402.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.09132, allocations: 4 kB / 402.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.09132, allocations: 3.953 kB / 402.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.09188, allocations: 413.4 kB / 403.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.09199, allocations: 116.9 kB / 403.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.09203, allocations: 7.938 kB / 403.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.09218, allocations: 12 kB / 403.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.09224, allocations: 19.92 kB / 403.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.09225, allocations: 4 kB / 403.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.09238, allocations: 131.2 kB / 403.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09239, allocations: 0 / 403.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.09268, allocations: 59.98 kB / 403.5 MB, free: 9.254 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0008049/0.09349, allocations: 0.9596 MB / 404.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003606/0.09386, allocations: 212.5 kB / 404.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.09388, allocations: 0 / 404.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.09406, allocations: 147.5 kB / 404.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.09432, allocations: 32.17 kB / 404.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.09627, allocations: 1.873 MB / 406.7 MB, free: 5.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.09657, allocations: 0.7407 MB / 407.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.0967, allocations: 29.88 kB / 407.5 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.09681, allocations: 71.41 kB / 407.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09682, allocations: 0 / 407.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1106, allocations: 4.286 MB / 411.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.1109, allocations: 200.7 kB / 412 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.775, allocations: 4 kB / 412 MB, free: 0.6016 MB / 302.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) Environment - environmentSimulation: