Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001166/0.001166, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.291/1.291, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0508/0.0508, allocations: 11.84 MB / 281.2 MB, free: 9.652 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.001365/0.001365, allocations: 75.34 kB / 341.1 MB, free: 22.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.08771, allocations: 49.22 MB / 390.4 MB, free: 5.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003681/0.09142, allocations: 3.028 MB / 393.4 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.09253, allocations: 0.7486 MB / 394.1 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.09264, allocations: 4 kB / 394.1 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.09277, allocations: 19.84 kB / 394.2 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.09306, allocations: 103.4 kB / 394.3 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.09321, allocations: 47.83 kB / 394.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.09343, allocations: 234.8 kB / 394.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.09356, allocations: 45.64 kB / 394.6 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.09369, allocations: 83.64 kB / 394.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.09384, allocations: 103.5 kB / 394.8 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.09388, allocations: 12 kB / 394.8 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.09397, allocations: 20 kB / 394.8 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.09402, allocations: 39.83 kB / 394.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.09412, allocations: 99.47 kB / 394.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.09434, allocations: 203.6 kB / 395.1 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09435, allocations: 0 / 395.1 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.09435, allocations: 0 / 395.1 MB, free: 344 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.09436, allocations: 0 / 395.1 MB, free: 344 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006678/0.09504, allocations: 0.5004 MB / 395.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.09508, allocations: 8.031 kB / 395.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.925e-05/0.09518, allocations: 24.73 kB / 395.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.09541, allocations: 224 kB / 395.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.09543, allocations: 12.38 kB / 395.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.09547, allocations: 24.12 kB / 395.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.0958, allocations: 191.5 kB / 396.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.09583, allocations: 7.984 kB / 396.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.09586, allocations: 12 kB / 396.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.09587, allocations: 4 kB / 396.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.09612, allocations: 116.9 kB / 396.2 MB, free: 15.12 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.001072/0.0972, allocations: 0.9333 MB / 397.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.09748, allocations: 146.8 kB / 397.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.09761, allocations: 68.77 kB / 397.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.09763, allocations: 3.984 kB / 397.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.09766, allocations: 38.56 kB / 397.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.09767, allocations: 0 / 397.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001726/0.0994, allocations: 0.7513 MB / 398.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.09946, allocations: 81.09 kB / 398.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.0996, allocations: 174.7 kB / 398.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.09963, allocations: 25.7 kB / 398.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.09971, allocations: 128.3 kB / 398.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.09976, allocations: 63.02 kB / 398.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.09983, allocations: 49.69 kB / 398.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.09994, allocations: 326.8 kB / 399 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1001, allocations: 64.81 kB / 399.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.1002, allocations: 92.2 kB / 399.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.1006, allocations: 218.2 kB / 399.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1006, allocations: 0 / 399.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003867/0.101, allocations: 235 kB / 399.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.101, allocations: 33.8 kB / 399.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.101, allocations: 3.938 kB / 399.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.101, allocations: 4 kB / 399.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.1013, allocations: 63.89 kB / 399.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1013, allocations: 0 / 399.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1015, allocations: 12 kB / 399.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1015, allocations: 7.984 kB / 399.7 MB, free: 11.32 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: 5 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0002235/0.1017, allocations: 164.4 kB / 399.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.1018, allocations: 15.81 kB / 399.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.1023, allocations: 265.1 kB / 400.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1023, allocations: 3.938 kB / 400.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1023, allocations: 0 / 400.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1023, allocations: 0 / 400.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.103, allocations: 0.5859 MB / 400.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.103, allocations: 0 / 400.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.1033, allocations: 59.89 kB / 400.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1033, allocations: 0 / 400.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1033, allocations: 4 kB / 400.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1033, allocations: 4 kB / 400.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1033, allocations: 0 / 400.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.1039, allocations: 404.8 kB / 401.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.104, allocations: 108.8 kB / 401.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.104, allocations: 3.984 kB / 401.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1042, allocations: 12 kB / 401.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1042, allocations: 15.92 kB / 401.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.1042, allocations: 7.984 kB / 401.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.1043, allocations: 135.3 kB / 401.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1043, allocations: 0 / 401.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.1046, allocations: 56 kB / 401.5 MB, free: 9.363 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001246/0.1048, allocations: 111.2 kB / 401.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.1052, allocations: 215.1 kB / 401.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1052, allocations: 0 / 401.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.1054, allocations: 143.9 kB / 402 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1057, allocations: 47.8 kB / 402.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.1066, allocations: 0.5536 MB / 402.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1069, allocations: 0.7368 MB / 403.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.107, allocations: 25.94 kB / 403.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.1071, allocations: 27.42 kB / 403.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1071, allocations: 0 / 403.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of Templates: time 0.005373/0.1124, allocations: 2.547 MB / 405.9 MB, free: 4.918 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)