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.001723/0.001723, allocations: 107.7 kB / 16.41 MB, free: 6.488 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.001806/0.001806, allocations: 186.5 kB / 17.35 MB, free: 5.766 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.543/1.543, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05507/0.05507, allocations: 11.85 MB / 282.4 MB, free: 220 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.001642/0.001642, allocations: 69.16 kB / 393 MB, free: 45.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09649, allocations: 49.23 MB / 442.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.00425/0.1008, allocations: 3.343 MB / 445.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1024, allocations: 0.8463 MB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.1026, allocations: 8 kB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1028, allocations: 55.44 kB / 446.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.1033, allocations: 194.6 kB / 446.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.1036, allocations: 95.88 kB / 446.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.1042, allocations: 0.6298 MB / 447.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003934/0.1046, allocations: 262 kB / 447.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.1049, allocations: 231.2 kB / 447.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.1052, allocations: 254.9 kB / 448.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.1053, allocations: 44 kB / 448.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1054, allocations: 55.98 kB / 448.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1056, allocations: 107.7 kB / 448.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.1058, allocations: 262.8 kB / 448.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.1064, allocations: 0.518 MB / 449.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1064, allocations: 0 / 449.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1064, allocations: 3.938 kB / 449.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1064, allocations: 0 / 449.1 MB, free: 11.16 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001017/0.1074, allocations: 0.7018 MB / 449.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1075, allocations: 15.89 kB / 449.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1077, allocations: 52.38 kB / 449.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.1081, allocations: 334.5 kB / 450.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.1081, allocations: 33.12 kB / 450.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.1082, allocations: 40 kB / 450.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.1089, allocations: 386.4 kB / 450.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1089, allocations: 4 kB / 450.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.109, allocations: 16 kB / 450.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.109, allocations: 12 kB / 450.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.1095, allocations: 287.8 kB / 451 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.1116, allocations: 1.719 MB / 452.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.112, allocations: 158.6 kB / 452.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.1122, allocations: 87.62 kB / 452.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1122, allocations: 0 / 452.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1123, allocations: 42.5 kB / 453 MB, free: 7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 4.338e-06/0.1123, allocations: 7.984 kB / 453 MB, free: 6.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004808/0.1128, allocations: 221 kB / 453.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1128, allocations: 55.41 kB / 453.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.1133, allocations: 421.6 kB / 453.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1133, allocations: 29.7 kB / 453.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.1135, allocations: 239.6 kB / 453.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.1136, allocations: 59.11 kB / 454 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.1136, allocations: 57.67 kB / 454 MB, free: 5.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1138, allocations: 354.7 kB / 454.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.114, allocations: 77.66 kB / 454.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1142, allocations: 165.9 kB / 454.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.1146, allocations: 255.8 kB / 454.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1146, allocations: 0 / 454.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004661/0.115, allocations: 292.8 kB / 455.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1151, allocations: 8.438 kB / 455.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1151, allocations: 4 kB / 455.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.1151, allocations: 8 kB / 455.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.1154, allocations: 67.89 kB / 455.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.1154, allocations: 7.938 kB / 455.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.1156, allocations: 47.42 kB / 455.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1157, allocations: 16 kB / 455.3 MB, free: 4.508 MB / 334.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.0002209/0.1159, allocations: 177.7 kB / 455.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.116, allocations: 39.53 kB / 455.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.1164, allocations: 204.3 kB / 455.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1164, allocations: 3.938 kB / 455.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1164, allocations: 4 kB / 455.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.1165, allocations: 136.5 kB / 455.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.1166, allocations: 4 kB / 455.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1167, allocations: 7.938 kB / 455.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.1168, allocations: 11.98 kB / 455.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004753/0.1173, allocations: 260.7 kB / 456.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005045/0.1178, allocations: 430.1 kB / 456.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001311/0.1179, allocations: 62.95 kB / 456.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.1183, allocations: 315.1 kB / 456.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of Backend: time 2.9e-07/0.1183, allocations: 0 / 456.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006096/0.1189, allocations: 203.1 kB / 457.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of SimCode: time 0.001557/0.1205, allocations: 1.259 MB / 458.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of Templates: time 0.01189/0.1324, allocations: 6.257 MB / 464.7 MB, free: 11.14 MB / 350.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)