Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 132 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.001463/0.001463, allocations: 198.2 kB / 16.54 MB, free: 6.672 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 / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05555/0.05555, allocations: 11.84 MB / 281.6 MB, free: 9.438 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.002931/0.002931, allocations: 79.7 kB / 341.8 MB, free: 21.97 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1114, allocations: 49.23 MB / 391 MB, free: 4.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.005095/0.1166, allocations: 3.341 MB / 394.4 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1183, allocations: 0.8578 MB / 395.2 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.1186, allocations: 4 kB / 395.2 MB, free: 468 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.1188, allocations: 59.38 kB / 395.3 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005921/0.1194, allocations: 186.7 kB / 395.5 MB, free: 220 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.1197, allocations: 99.83 kB / 395.6 MB, free: 120 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007361/0.1204, allocations: 0.6299 MB / 396.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.1208, allocations: 254.1 kB / 396.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.1212, allocations: 227.2 kB / 396.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.1215, allocations: 255 kB / 396.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.1216, allocations: 40 kB / 397 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1217, allocations: 55.98 kB / 397 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1218, allocations: 111.6 kB / 397.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.1221, allocations: 258.9 kB / 397.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.1226, allocations: 0.5142 MB / 397.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1226, allocations: 3.984 kB / 397.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1226, allocations: 0 / 397.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1226, allocations: 0 / 397.9 MB, free: 13.78 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009889/0.1236, allocations: 0.7056 MB / 398.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1236, allocations: 15.89 kB / 398.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.1238, allocations: 56.38 kB / 398.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.1242, allocations: 338.4 kB / 399 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.1242, allocations: 33.12 kB / 399 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.1243, allocations: 40 kB / 399.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/0.1249, allocations: 382.4 kB / 399.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1249, allocations: 0 / 399.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.125, allocations: 16 kB / 399.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.125, allocations: 8 kB / 399.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.1255, allocations: 295.8 kB / 399.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.1275, allocations: 1.727 MB / 401.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.1278, allocations: 154.7 kB / 401.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.128, allocations: 80.83 kB / 401.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.128, allocations: 7.984 kB / 401.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.128, allocations: 34.5 kB / 401.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.128, allocations: 0 / 401.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004697/0.1285, allocations: 224.2 kB / 402 MB, free: 9.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1286, allocations: 51.41 kB / 402 MB, free: 9.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.129, allocations: 433.5 kB / 402.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.129, allocations: 25.7 kB / 402.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1292, allocations: 231.6 kB / 402.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.1292, allocations: 71.02 kB / 402.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.1293, allocations: 57.61 kB / 402.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1294, allocations: 354.7 kB / 403.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1296, allocations: 73.38 kB / 403.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.1298, allocations: 166 kB / 403.4 MB, free: 7.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.1301, allocations: 252.4 kB / 403.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1302, allocations: 0 / 403.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004569/0.1306, allocations: 300.9 kB / 404 MB, free: 7.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1306, allocations: 4 kB / 404 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1307, allocations: 4 kB / 404 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1307, allocations: 7.938 kB / 404 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.1309, allocations: 71.89 kB / 404 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.131, allocations: 8 kB / 404.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.1312, allocations: 39.53 kB / 404.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1312, allocations: 12.25 kB / 404.1 MB, free: 7.129 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 33 * 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.0002/0.1314, allocations: 185.6 kB / 404.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.1315, allocations: 39.53 kB / 404.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.1319, allocations: 201.1 kB / 404.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.1319, allocations: 7.984 kB / 404.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1319, allocations: 0 / 404.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1319, allocations: 0 / 404.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.1328, allocations: 0.7266 MB / 405.3 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1328, allocations: 0 / 405.3 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.133, allocations: 47.91 kB / 405.3 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.133, allocations: 4.125 kB / 405.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.133, allocations: 11.94 kB / 405.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.133, allocations: 4 kB / 405.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.133, allocations: 0 / 405.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.1335, allocations: 377 kB / 405.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.1337, allocations: 140.5 kB / 405.8 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.1337, allocations: 11.94 kB / 405.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1339, allocations: 0 / 405.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.134, allocations: 15.98 kB / 405.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.134, allocations: 7.938 kB / 405.9 MB, free: 5.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000305/0.1343, allocations: 311.1 kB / 406.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1343, allocations: 0 / 406.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.1347, allocations: 99.91 kB / 406.3 MB, free: 4.828 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.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 (18): * Single equations (assignments): 18 * 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.0001254/0.1348, allocations: 107.2 kB / 406.4 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.1352, allocations: 183.7 kB / 406.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1352, allocations: 0.875 kB / 406.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.1353, allocations: 72.09 kB / 406.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/0.1359, allocations: 141.3 kB / 406.8 MB, free: 4.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1371, allocations: 0.7646 MB / 407.5 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1375, allocations: 0.8269 MB / 408.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.1377, allocations: 60.16 kB / 408.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.1378, allocations: 35.42 kB / 408.4 MB, free: 2.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1378, allocations: 0 / 408.4 MB, free: 2.57 MB / 302.1 MB Notification: Performance of Templates: time 0.009493/0.1473, allocations: 5.69 MB / 414.1 MB, free: 12.95 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)