Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 104.9 kB / 16.4 MB, free: 5.977 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.001361/0.001361, allocations: 188.8 kB / 17.34 MB, free: 5.586 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.296/1.296, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05564/0.05564, allocations: 11.84 MB / 282.4 MB, free: 208 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.001488/0.001488, allocations: 74.5 kB / 393 MB, free: 45.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08533/0.08682, allocations: 49.23 MB / 442.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003031/0.0899, allocations: 2.409 MB / 444.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.09245, allocations: 2.112 MB / 446.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.09258, allocations: 4 kB / 446.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.09291, allocations: 87.39 kB / 446.8 MB, free: 13.42 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.09321, allocations: 119.2 kB / 447 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.09397, allocations: 409.7 kB / 447.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.09425, allocations: 250.8 kB / 447.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.09438, allocations: 48.36 kB / 447.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.09453, allocations: 99.56 kB / 447.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.09469, allocations: 107.5 kB / 447.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.09472, allocations: 12 kB / 447.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.09503, allocations: 199.8 kB / 448.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.09511, allocations: 47.83 kB / 448.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.021e-05/0.09521, allocations: 99.36 kB / 448.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.09564, allocations: 363 kB / 448.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.09565, allocations: 0 / 448.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.09566, allocations: 0 / 448.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.09567, allocations: 0 / 448.6 MB, free: 11.7 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007649/0.09644, allocations: 0.549 MB / 449.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.09648, allocations: 11.89 kB / 449.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.09654, allocations: 24.66 kB / 449.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.09685, allocations: 258.8 kB / 449.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.09687, allocations: 19.94 kB / 449.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.0969, allocations: 16 kB / 449.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.09723, allocations: 145.6 kB / 449.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.09725, allocations: 0 / 449.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.09727, allocations: 4 kB / 449.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.09728, allocations: 4 kB / 449.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.09762, allocations: 155.8 kB / 449.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.0986, allocations: 0.8056 MB / 450.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.09885, allocations: 102.6 kB / 450.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.09899, allocations: 56.83 kB / 450.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-05/0.09909, allocations: 85.11 kB / 450.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.09911, allocations: 30.56 kB / 450.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.09912, allocations: 0 / 450.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001466/0.1006, allocations: 400.5 kB / 451.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1006, allocations: 59.34 kB / 451.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1009, allocations: 282.7 kB / 451.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1009, allocations: 29.7 kB / 451.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1011, allocations: 155.7 kB / 451.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1011, allocations: 39.39 kB / 451.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.1012, allocations: 29.72 kB / 451.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1013, allocations: 342.7 kB / 452.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.1015, allocations: 63.95 kB / 452.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.1017, allocations: 92.23 kB / 452.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.1021, allocations: 156.2 kB / 452.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1021, allocations: 3.984 kB / 452.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004844/0.1026, allocations: 221.2 kB / 452.6 MB, free: 7.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1026, allocations: 10.66 kB / 452.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1026, allocations: 0 / 452.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1027, allocations: 4 kB / 452.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.1029, allocations: 35.97 kB / 452.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1029, allocations: 0 / 452.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1031, allocations: 19.92 kB / 452.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1031, allocations: 8 kB / 452.7 MB, free: 7.211 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001205/0.1032, allocations: 145.8 kB / 452.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.1033, allocations: 19.81 kB / 452.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005305/0.1038, allocations: 195.1 kB / 453.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1038, allocations: 8 kB / 453.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1038, allocations: 0 / 453.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1038, allocations: 3.938 kB / 453.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.1041, allocations: 265.5 kB / 453.3 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1041, allocations: 3.938 kB / 453.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.1043, allocations: 32.53 kB / 453.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1043, allocations: 0 / 453.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1044, allocations: 8 kB / 453.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1044, allocations: 0 / 453.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1044, allocations: 0 / 453.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.1049, allocations: 275.2 kB / 453.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.105, allocations: 116.7 kB / 453.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.105, allocations: 0 / 453.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1052, allocations: 15.98 kB / 453.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.1052, allocations: 11.98 kB / 453.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1052, allocations: 7.938 kB / 453.8 MB, free: 6.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.1054, allocations: 209.9 kB / 454 MB, free: 5.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1054, allocations: 0 / 454 MB, free: 5.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000371/0.1058, allocations: 79.94 kB / 454.1 MB, free: 5.742 MB / 334.1 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 (12): * Single equations (assignments): 12 * 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.001003/0.1068, allocations: 412.4 kB / 454.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.1073, allocations: 152 kB / 454.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1073, allocations: 3.938 kB / 454.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.1075, allocations: 67.89 kB / 454.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.108, allocations: 56.34 kB / 454.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.1087, allocations: 433.1 kB / 455.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.109, allocations: 0.7359 MB / 455.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.1091, allocations: 27.42 kB / 455.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1091, allocations: 0 / 455.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of Templates: time 0.005609/0.1147, allocations: 3.625 MB / 459.6 MB, free: 336 kB / 334.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)