Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",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.0007981/0.0007981, allocations: 91.84 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.004511/0.004511, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.114/1.114, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04793/0.04793, allocations: 11.85 MB / 282.6 MB, free: 9.367 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.0004978/0.0004978, allocations: 16 kB / 343.6 MB, free: 22.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06464/0.06515, allocations: 50.21 MB / 393.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002898/0.06807, allocations: 2.985 MB / 396.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.07073, allocations: 2.072 MB / 398.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.07094, allocations: 4 kB / 398.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.07115, allocations: 51.62 kB / 399 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.07151, allocations: 135.2 kB / 399.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.07219, allocations: 291.1 kB / 399.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.07258, allocations: 382.2 kB / 399.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.07273, allocations: 77.14 kB / 399.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.0729, allocations: 115.5 kB / 399.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.0731, allocations: 139.3 kB / 400.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.07314, allocations: 12 kB / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.07351, allocations: 235.8 kB / 400.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.07358, allocations: 47.78 kB / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.07373, allocations: 168.9 kB / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.07421, allocations: 438.7 kB / 401 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.07422, allocations: 0 / 401 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.07423, allocations: 0 / 401 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.07424, allocations: 0 / 401 MB, free: 12.61 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006858/0.07493, allocations: 0.5457 MB / 401.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.07497, allocations: 12.03 kB / 401.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.07504, allocations: 54.73 kB / 401.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.07515, allocations: 32.56 kB / 401.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.07541, allocations: 263.8 kB / 401.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.07543, allocations: 16.94 kB / 401.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.07548, allocations: 27.94 kB / 401.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.0759, allocations: 279.6 kB / 402.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.07593, allocations: 4 kB / 402.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.07595, allocations: 8 kB / 402.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.07597, allocations: 8 kB / 402.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.07634, allocations: 222.1 kB / 402.4 MB, free: 11.05 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.00168/0.07803, allocations: 1.456 MB / 403.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.07829, allocations: 150.8 kB / 404 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.07843, allocations: 72.88 kB / 404.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.0786, allocations: 178.1 kB / 404.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.07863, allocations: 38.56 kB / 404.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.07864, allocations: 0 / 404.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001645/0.08029, allocations: 0.7625 MB / 405.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.08032, allocations: 55.41 kB / 405.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.08057, allocations: 270.6 kB / 405.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.0806, allocations: 29.7 kB / 405.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.08069, allocations: 160.2 kB / 405.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.08076, allocations: 74.86 kB / 405.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.0808, allocations: 25.7 kB / 405.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.08091, allocations: 338.8 kB / 406 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.08109, allocations: 81.28 kB / 406.1 MB, free: 7.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.08128, allocations: 134.9 kB / 406.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.08163, allocations: 221.8 kB / 406.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.08165, allocations: 7.938 kB / 406.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000453/0.08211, allocations: 261.2 kB / 406.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.08213, allocations: 10.12 kB / 406.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.08214, allocations: 4 kB / 406.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.08215, allocations: 4 kB / 406.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.08241, allocations: 71.89 kB / 406.8 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.08243, allocations: 4 kB / 406.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.08257, allocations: 16.11 kB / 406.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.0826, allocations: 16 kB / 406.8 MB, free: 6.25 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: 7 * 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 (28): * Single equations (assignments): 28 * 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.0001536/0.08276, allocations: 141.7 kB / 406.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.08282, allocations: 31.61 kB / 407 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.0833, allocations: 247.6 kB / 407.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.08331, allocations: 4 kB / 407.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.08332, allocations: 3.938 kB / 407.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.08333, allocations: 3.984 kB / 407.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008233/0.08416, allocations: 0.6361 MB / 407.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.08417, allocations: 0 / 407.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.08442, allocations: 59.95 kB / 407.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.08443, allocations: 0 / 407.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.08445, allocations: 8 kB / 407.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.08446, allocations: 0 / 407.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.08447, allocations: 8.031 kB / 407.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.08505, allocations: 419.9 kB / 408.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.08516, allocations: 128.8 kB / 408.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.0852, allocations: 4 kB / 408.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.08536, allocations: 11.98 kB / 408.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.08542, allocations: 19.92 kB / 408.5 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.08544, allocations: 7.938 kB / 408.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.08561, allocations: 202 kB / 408.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08562, allocations: 64 / 408.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.08599, allocations: 116 kB / 408.8 MB, free: 4.117 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * 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.0009524/0.08695, allocations: 1.017 MB / 409.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.08734, allocations: 207.3 kB / 410 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.08735, allocations: 0 / 410 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.08752, allocations: 87.91 kB / 410.1 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.08795, allocations: 72.83 kB / 410.2 MB, free: 2.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.0912, allocations: 3.061 MB / 413.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.09148, allocations: 0.7558 MB / 414 MB, free: 14.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.09163, allocations: 42.89 kB / 414.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.09177, allocations: 91.39 kB / 414.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.09177, allocations: 0 / 414.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.923/3.015, allocations: 7.27 MB / 421.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/3.015, allocations: 211.4 kB / 421.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/4.642, allocations: 0 / 421.6 MB, free: 7.148 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)