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.001236/0.001237, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001936/0.001936, allocations: 168.7 kB / 15.95 MB, free: 200 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.883/1.883, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05652/0.05652, allocations: 11.85 MB / 282.2 MB, free: 9.484 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.0005808/0.0005808, allocations: 24 kB / 342.9 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1194, allocations: 50.21 MB / 393.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003469/0.1229, allocations: 2.87 MB / 396 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.1258, allocations: 1.891 MB / 397.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.126, allocations: 4 kB / 397.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1263, allocations: 55.61 kB / 398 MB, free: 15.38 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.1267, allocations: 170.8 kB / 398.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.1275, allocations: 263.2 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.1279, allocations: 366.2 kB / 398.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1281, allocations: 60.89 kB / 398.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1282, allocations: 111.6 kB / 398.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1285, allocations: 139.4 kB / 399 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.1285, allocations: 12 kB / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.1289, allocations: 223.8 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.129, allocations: 55.77 kB / 399.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.1291, allocations: 73.58 kB / 399.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.1295, allocations: 327.4 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.1295, allocations: 0 / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1296, allocations: 0 / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1296, allocations: 0 / 399.7 MB, free: 13.6 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.0009917/0.1306, allocations: 0.5417 MB / 400.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1306, allocations: 8.031 kB / 400.3 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.1308, allocations: 39.58 kB / 400.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.1312, allocations: 258.6 kB / 400.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.1312, allocations: 20.56 kB / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.1312, allocations: 23.91 kB / 400.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.1317, allocations: 271.7 kB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1317, allocations: 0 / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.1318, allocations: 12 kB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1318, allocations: 11.94 kB / 400.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.1322, allocations: 226.1 kB / 401.1 MB, free: 12.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.001962/0.1342, allocations: 1.448 MB / 402.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1345, allocations: 146.8 kB / 402.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1346, allocations: 76.88 kB / 402.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.1348, allocations: 178.1 kB / 403 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1349, allocations: 38.55 kB / 403 MB, free: 9.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.1349, allocations: 0 / 403 MB, free: 9.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001905/0.1368, allocations: 0.7653 MB / 403.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1369, allocations: 55.41 kB / 403.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.1372, allocations: 270.6 kB / 404.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.1372, allocations: 29.7 kB / 404.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1374, allocations: 160.2 kB / 404.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.1374, allocations: 67.02 kB / 404.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.1375, allocations: 4 kB / 404.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1376, allocations: 334.8 kB / 404.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.1378, allocations: 101.1 kB / 404.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.138, allocations: 134.8 kB / 404.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.1382, allocations: 79.98 kB / 405 MB, free: 7.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1382, allocations: 0 / 405 MB, free: 7.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005131/0.1388, allocations: 265.2 kB / 405.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1388, allocations: 10.19 kB / 405.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1388, allocations: 0 / 405.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1388, allocations: 7.984 kB / 405.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.1391, allocations: 80.05 kB / 405.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.1391, allocations: 0 / 405.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.1393, allocations: 15.95 kB / 405.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.1393, allocations: 19.97 kB / 405.4 MB, free: 7.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002184/0.1395, allocations: 146.6 kB / 405.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.1396, allocations: 23.72 kB / 405.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.1401, allocations: 251.5 kB / 405.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1402, allocations: 4 kB / 405.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1402, allocations: 0 / 405.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1402, allocations: 0 / 405.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000946/0.1411, allocations: 0.64 MB / 406.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1412, allocations: 0 / 406.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.1414, allocations: 63.84 kB / 406.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.1414, allocations: 32 / 406.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.1415, allocations: 15.98 kB / 406.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1415, allocations: 3.953 kB / 406.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1415, allocations: 0 / 406.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.1421, allocations: 416.1 kB / 406.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1422, allocations: 128.7 kB / 407 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.1423, allocations: 8 kB / 407 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.1425, allocations: 8 kB / 407 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.1425, allocations: 19.92 kB / 407.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1425, allocations: 11.94 kB / 407.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.1427, allocations: 198 kB / 407.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1428, allocations: 3.938 kB / 407.3 MB, free: 5.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004462/0.1432, allocations: 115.9 kB / 407.4 MB, free: 5.359 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 (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.0003189/0.1435, allocations: 179.1 kB / 407.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.144, allocations: 191.8 kB / 407.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.144, allocations: 0 / 407.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1442, allocations: 91.89 kB / 407.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.1447, allocations: 68.34 kB / 407.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1459, allocations: 0.7573 MB / 408.7 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1463, allocations: 0.7638 MB / 409.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.1464, allocations: 42.89 kB / 409.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.1465, allocations: 31.42 kB / 409.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1465, allocations: 0 / 409.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of Templates: time 0.008784/0.1553, allocations: 4.604 MB / 414.1 MB, free: 14.61 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: