Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/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 ModelicaServices with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo) Using package Modelica with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo) Using package Complex with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001124/0.001124, allocations: 155.3 kB / 15.95 MB, free: 5.793 MB / 13.93 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8490:35-8490:107:writable] Warning: The file was not encoded in UTF-8: "
Calculation of a generic pressure loss in dependence of nom...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8600:35-8600:107:writable] Warning: The file was not encoded in UTF-8: "
Calculation of a generic pressure loss in dependence of nomi...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8738:35-8738:107:writable] Warning: The file was not encoded in UTF-8: "
Calculation of a generic pressure loss in dependence of a pr...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8793:35-8793:107:writable] Warning: The file was not encoded in UTF-8: "
Calculation of a generic pressure loss with linear or quadra...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 0.9598/0.9598, allocations: 150.5 MB / 167.2 MB, free: 2.184 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001188/0.001188, allocations: 88.14 kB / 201.8 MB, free: 12.34 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1871/0.1871, allocations: 11.83 MB / 248.2 MB, free: 33.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 295.4 MB, free: 8.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08572, allocations: 36.44 MB / 331.9 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.005483/0.09129, allocations: 2.468 MB / 334.3 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.09287, allocations: 0.6041 MB / 334.9 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.09301, allocations: 4 kB / 334.9 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.267e-05/0.09311, allocations: 15.86 kB / 335 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.09357, allocations: 71.5 kB / 335 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.09372, allocations: 27.97 kB / 335 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.09398, allocations: 155.1 kB / 335.2 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.09416, allocations: 33.09 kB / 335.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.09434, allocations: 55.78 kB / 335.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.0945, allocations: 63.7 kB / 335.4 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.09454, allocations: 8 kB / 335.4 MB, free: 496 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.09464, allocations: 16 kB / 335.4 MB, free: 480 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.09469, allocations: 19.91 kB / 335.4 MB, free: 460 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.09481, allocations: 67.67 kB / 335.5 MB, free: 392 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.09507, allocations: 111.9 kB / 335.6 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.09509, allocations: 0 / 335.6 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.0951, allocations: 0 / 335.6 MB, free: 280 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.09511, allocations: 0 / 335.6 MB, free: 280 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008849/0.09601, allocations: 452.6 kB / 336 MB, free: 15.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.09607, allocations: 8.031 kB / 336 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.09615, allocations: 12.84 kB / 336 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.09646, allocations: 208 kB / 336.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.09649, allocations: 4.375 kB / 336.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.09653, allocations: 15.94 kB / 336.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.0969, allocations: 101.2 kB / 336.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.09693, allocations: 4 kB / 336.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.09696, allocations: 4 kB / 336.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.09697, allocations: 0 / 336.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.09733, allocations: 83.88 kB / 336.4 MB, free: 15.3 MB / 266.7 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.00104/0.09839, allocations: 0.5784 MB / 337 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.0987, allocations: 82.55 kB / 337.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.09891, allocations: 52.77 kB / 337.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.09896, allocations: 7.984 kB / 337.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.099, allocations: 38.55 kB / 337.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.09901, allocations: 0 / 337.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.002059/0.1011, allocations: 404.4 kB / 337.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.1012, allocations: 81.11 kB / 337.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1013, allocations: 138.8 kB / 337.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1014, allocations: 33.7 kB / 337.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.1015, allocations: 104 kB / 337.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.1015, allocations: 35.48 kB / 338 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.1016, allocations: 17.72 kB / 338 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1018, allocations: 322.8 kB / 338.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.102, allocations: 43.95 kB / 338.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.1023, allocations: 69.61 kB / 338.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/0.1029, allocations: 165.9 kB / 338.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1029, allocations: 0 / 338.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006565/0.1036, allocations: 187 kB / 338.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.1036, allocations: 29.7 kB / 338.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1036, allocations: 4 kB / 338.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1037, allocations: 0 / 338.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.104, allocations: 35.91 kB / 338.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.104, allocations: 4 kB / 338.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1042, allocations: 20 kB / 338.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1042, allocations: 0 / 338.9 MB, free: 12.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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.0001526/0.1044, allocations: 147.5 kB / 339 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.1044, allocations: 15.75 kB / 339 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.1051, allocations: 215.9 kB / 339.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1051, allocations: 0 / 339.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1051, allocations: 4 kB / 339.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1052, allocations: 0 / 339.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.1055, allocations: 221.5 kB / 339.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1055, allocations: 3.938 kB / 339.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.1057, allocations: 32.06 kB / 339.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1057, allocations: 3.938 kB / 339.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.1058, allocations: 4 kB / 339.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1058, allocations: 4 kB / 339.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1058, allocations: 0 / 339.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.107, allocations: 0.9126 MB / 340.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.1071, allocations: 96.98 kB / 340.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1072, allocations: 0 / 340.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.1074, allocations: 15.98 kB / 340.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.1075, allocations: 11.98 kB / 340.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1075, allocations: 0 / 340.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.778e-05/0.1076, allocations: 119.2 kB / 340.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.333e-06/0.1076, allocations: 0 / 340.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000381/0.108, allocations: 47.88 kB / 340.7 MB, free: 10.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 12 * 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.0001575/0.1081, allocations: 107.2 kB / 340.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006048/0.1088, allocations: 175.2 kB / 341 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1088, allocations: 0 / 341 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.1091, allocations: 119.4 kB / 341.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008171/0.1099, allocations: 55.94 kB / 341.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.1108, allocations: 460.1 kB / 341.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1112, allocations: 0.7126 MB / 342.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.1113, allocations: 17.22 kB / 342.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.1114, allocations: 15.42 kB / 342.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1114, allocations: 4 kB / 342.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of Templates: time 0.007074/0.1185, allocations: 2.201 MB / 344.5 MB, free: 6.738 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)