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: translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001567, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05622/0.05622, allocations: 11.84 MB / 281.6 MB, free: 9.422 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.001549/0.001549, allocations: 67.91 kB / 341.8 MB, free: 21.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08759, allocations: 49.22 MB / 391 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.004465/0.0921, allocations: 2.892 MB / 393.9 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.09521, allocations: 2.013 MB / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.09545, allocations: 4 kB / 396 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.09574, allocations: 55.5 kB / 396 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.09617, allocations: 151 kB / 396.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.09699, allocations: 386.7 kB / 396.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.09737, allocations: 370.2 kB / 396.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.09757, allocations: 85.48 kB / 397 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.09774, allocations: 135.5 kB / 397.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.09796, allocations: 147.3 kB / 397.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.09801, allocations: 24 kB / 397.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.09843, allocations: 243.8 kB / 397.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.0985, allocations: 63.75 kB / 397.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.09866, allocations: 155.3 kB / 397.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.0992, allocations: 442.8 kB / 398.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.09921, allocations: 0 / 398.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.09923, allocations: 11.94 kB / 398.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.09924, allocations: 0 / 398.2 MB, free: 13.54 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.000897/0.1001, allocations: 0.5924 MB / 398.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1002, allocations: 15.89 kB / 398.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.1003, allocations: 32.64 kB / 398.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.1006, allocations: 271.6 kB / 399.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.1006, allocations: 16.94 kB / 399.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.1007, allocations: 32.03 kB / 399.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.1012, allocations: 275.7 kB / 399.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1012, allocations: 0 / 399.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.1012, allocations: 8 kB / 399.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.1012, allocations: 4 kB / 399.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.1016, allocations: 226.1 kB / 399.6 MB, free: 11.98 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.001885/0.1035, allocations: 1.437 MB / 401.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.1038, allocations: 154.8 kB / 401.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.104, allocations: 72.83 kB / 401.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.1042, allocations: 166.2 kB / 401.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.1042, allocations: 46.5 kB / 401.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.1042, allocations: 4 kB / 401.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001905/0.1061, allocations: 0.7298 MB / 402.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.1062, allocations: 55.39 kB / 402.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1065, allocations: 266.6 kB / 402.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.1065, allocations: 33.7 kB / 402.6 MB, free: 8.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.1066, allocations: 156.2 kB / 402.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.1067, allocations: 67 kB / 402.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.1068, allocations: 57.84 kB / 402.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1069, allocations: 334.8 kB / 403.2 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.1071, allocations: 85.5 kB / 403.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.1073, allocations: 124 kB / 403.4 MB, free: 7.867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.1077, allocations: 213.6 kB / 403.6 MB, free: 7.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1077, allocations: 0 / 403.6 MB, free: 7.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004905/0.1082, allocations: 261.1 kB / 403.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1082, allocations: 4 kB / 403.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1082, allocations: 4 kB / 403.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1083, allocations: 0 / 403.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.1085, allocations: 67.89 kB / 403.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1086, allocations: 4 kB / 403.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1087, allocations: 16.14 kB / 403.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1087, allocations: 15.94 kB / 404 MB, free: 7.27 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.0001857/0.1089, allocations: 150.6 kB / 404.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.109, allocations: 23.72 kB / 404.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.1095, allocations: 263.3 kB / 404.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1095, allocations: 0 / 404.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1095, allocations: 0 / 404.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1095, allocations: 0 / 404.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009142/0.1105, allocations: 0.6244 MB / 405 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1105, allocations: 0 / 405 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.1108, allocations: 59.89 kB / 405.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1108, allocations: 8.031 kB / 405.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1108, allocations: 4 kB / 405.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1108, allocations: 4 kB / 405.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1108, allocations: 48 / 405.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.1114, allocations: 408 kB / 405.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1116, allocations: 124.8 kB / 405.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.1116, allocations: 8 kB / 405.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1118, allocations: 11.98 kB / 405.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.1119, allocations: 15.98 kB / 405.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1119, allocations: 7.938 kB / 405.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.1121, allocations: 201.9 kB / 405.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1121, allocations: 0 / 405.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004283/0.1125, allocations: 111.9 kB / 405.9 MB, free: 5.164 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.0003248/0.1129, allocations: 187.1 kB / 406.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1133, allocations: 191.7 kB / 406.3 MB, free: 4.785 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1133, allocations: 0 / 406.3 MB, free: 4.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1135, allocations: 96.22 kB / 406.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.114, allocations: 76.27 kB / 406.5 MB, free: 4.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1151, allocations: 0.6283 MB / 407.1 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1155, allocations: 0.7558 MB / 407.9 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.1157, allocations: 38.91 kB / 407.9 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.1158, allocations: 35.42 kB / 407.9 MB, free: 3.102 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1158, allocations: 0 / 407.9 MB, free: 3.102 MB / 302.1 MB Notification: Performance of Templates: time 0.009558/0.1253, allocations: 4.968 MB / 412.9 MB, free: 14.17 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)