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.001611/0.001611, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.00174/0.00174, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05663/0.05663, allocations: 11.85 MB / 282.4 MB, free: 216 kB / 222.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.003141/0.003142, allocations: 73.33 kB / 393 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1121, allocations: 49.22 MB / 442.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003783/0.1159, allocations: 2.91 MB / 445.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.119, allocations: 1.998 MB / 447.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.1192, allocations: 4 kB / 447.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.1196, allocations: 63.48 kB / 447.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.1201, allocations: 143 kB / 447.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1213, allocations: 378.6 kB / 447.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.1218, allocations: 378.1 kB / 448.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.122, allocations: 97.41 kB / 448.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.1223, allocations: 135.5 kB / 448.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1225, allocations: 151.4 kB / 448.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.1225, allocations: 27.94 kB / 448.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.1231, allocations: 239.8 kB / 448.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.1232, allocations: 63.75 kB / 448.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.1233, allocations: 159.3 kB / 448.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.1239, allocations: 450.7 kB / 449.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.124, allocations: 4 kB / 449.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.124, allocations: 0 / 449.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.124, allocations: 0 / 449.4 MB, free: 10.89 MB / 334.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.0009506/0.1249, allocations: 0.5886 MB / 450 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.125, allocations: 15.89 kB / 450 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.1251, allocations: 32.56 kB / 450 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1255, allocations: 267.7 kB / 450.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.1255, allocations: 20.94 kB / 450.3 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.1255, allocations: 20.12 kB / 450.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.126, allocations: 271.7 kB / 450.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.126, allocations: 3.984 kB / 450.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1261, allocations: 12 kB / 450.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1261, allocations: 4 kB / 450.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.1265, allocations: 222.1 kB / 450.8 MB, free: 9.352 MB / 334.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.001875/0.1284, allocations: 1.444 MB / 452.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.1287, allocations: 150.8 kB / 452.4 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1288, allocations: 75.69 kB / 452.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.129, allocations: 166.2 kB / 452.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1291, allocations: 34.56 kB / 452.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 3.186e-06/0.1291, allocations: 11.92 kB / 452.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.00185/0.1309, allocations: 0.729 MB / 453.4 MB, free: 6.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.131, allocations: 51.41 kB / 453.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.1313, allocations: 266.7 kB / 453.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1313, allocations: 25.7 kB / 453.8 MB, free: 6.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1315, allocations: 168.1 kB / 453.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.1315, allocations: 70.92 kB / 454 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.1316, allocations: 45.92 kB / 454 MB, free: 5.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1318, allocations: 342.8 kB / 454.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.1319, allocations: 81.72 kB / 454.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.1322, allocations: 126.9 kB / 454.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.1325, allocations: 209.1 kB / 454.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1326, allocations: 3.938 kB / 454.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004907/0.1331, allocations: 265 kB / 455 MB, free: 4.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1331, allocations: 11.98 kB / 455.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1331, allocations: 0 / 455.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1331, allocations: 4 kB / 455.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.1334, allocations: 71.89 kB / 455.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1334, allocations: 4 kB / 455.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1336, allocations: 12 kB / 455.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1336, allocations: 16.14 kB / 455.2 MB, free: 4.629 MB / 334.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.0002111/0.1338, allocations: 149.7 kB / 455.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.1339, allocations: 27.66 kB / 455.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/0.1344, allocations: 235.6 kB / 455.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1345, allocations: 4 kB / 455.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1345, allocations: 4 kB / 455.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1346, allocations: 120.8 kB / 455.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.1346, allocations: 4 kB / 455.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.1348, allocations: 12 kB / 455.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.1349, allocations: 11.97 kB / 455.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000613/0.1355, allocations: 320.9 kB / 456 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006896/0.1362, allocations: 482.2 kB / 456.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001702/0.1364, allocations: 79.98 kB / 456.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.1366, allocations: 198 kB / 456.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of Backend: time 3.31e-07/0.1366, allocations: 0 / 456.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.1375, allocations: 292.9 kB / 457.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of SimCode: time 0.001569/0.1391, allocations: 1.083 MB / 458.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of Templates: time 0.01026/0.1494, allocations: 5.413 MB / 463.6 MB, free: 12.16 MB / 350.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)