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.001509/0.001509, allocations: 108 kB / 15.61 MB, free: 148 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.00167/0.00167, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.501/1.501, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05487/0.05487, allocations: 11.84 MB / 281.6 MB, free: 9.418 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.00154/0.00154, allocations: 79.27 kB / 341.8 MB, free: 21.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.098, allocations: 49.22 MB / 391 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.004052/0.1021, allocations: 2.414 MB / 393.5 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.1051, allocations: 2.116 MB / 395.6 MB, free: 160 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.1053, allocations: 4 kB / 395.6 MB, free: 156 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1056, allocations: 79.45 kB / 395.7 MB, free: 76 kB / 286.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.0003422/0.106, allocations: 127.2 kB / 395.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.1068, allocations: 414.4 kB / 396.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.1072, allocations: 254.8 kB / 396.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1073, allocations: 40.39 kB / 396.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.1075, allocations: 87.64 kB / 396.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1077, allocations: 107.4 kB / 396.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.1077, allocations: 12 kB / 396.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.1081, allocations: 207.8 kB / 396.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.1082, allocations: 43.84 kB / 396.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1083, allocations: 107.3 kB / 397 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.1088, allocations: 343 kB / 397.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1088, allocations: 3.938 kB / 397.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1088, allocations: 4 kB / 397.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1088, allocations: 3.984 kB / 397.4 MB, free: 14.36 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007978/0.1097, allocations: 0.5413 MB / 397.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1097, allocations: 11.89 kB / 397.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.1098, allocations: 24.66 kB / 397.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1101, allocations: 258.8 kB / 398.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1101, allocations: 15.94 kB / 398.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1101, allocations: 12 kB / 398.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.1105, allocations: 157.6 kB / 398.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1105, allocations: 0 / 398.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1105, allocations: 4 kB / 398.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1105, allocations: 4 kB / 398.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.1109, allocations: 151.9 kB / 398.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.1121, allocations: 0.8017 MB / 399.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.1123, allocations: 98.7 kB / 399.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1125, allocations: 56.77 kB / 399.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.756e-05/0.1126, allocations: 93.09 kB / 399.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1126, allocations: 34.69 kB / 399.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.1126, allocations: 0 / 399.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001509/0.1141, allocations: 400.8 kB / 400 MB, free: 11.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1142, allocations: 55.41 kB / 400.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1145, allocations: 282.7 kB / 400.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1145, allocations: 29.7 kB / 400.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.1146, allocations: 147.8 kB / 400.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1146, allocations: 31.56 kB / 400.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.1147, allocations: 41.64 kB / 400.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1148, allocations: 334.8 kB / 400.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.1151, allocations: 59.95 kB / 401 MB, free: 10.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.1153, allocations: 100.2 kB / 401.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.1157, allocations: 168.1 kB / 401.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1158, allocations: 0 / 401.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005346/0.1163, allocations: 209.3 kB / 401.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1163, allocations: 11.98 kB / 401.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1163, allocations: 0 / 401.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1164, allocations: 4 kB / 401.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1166, allocations: 43.91 kB / 401.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1166, allocations: 0 / 401.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.1168, allocations: 19.92 kB / 401.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1168, allocations: 8 kB / 401.5 MB, free: 9.871 MB / 302.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.0001186/0.1169, allocations: 142.7 kB / 401.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.117, allocations: 23.72 kB / 401.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.1176, allocations: 191.2 kB / 401.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1176, allocations: 12 kB / 401.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1176, allocations: 0 / 401.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1176, allocations: 3.938 kB / 401.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.1179, allocations: 261.5 kB / 402.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1179, allocations: 3.984 kB / 402.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.1181, allocations: 35.92 kB / 402.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1181, allocations: 3.984 kB / 402.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1182, allocations: 4 kB / 402.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1182, allocations: 0 / 402.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1182, allocations: 0 / 402.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.1187, allocations: 279.1 kB / 402.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1188, allocations: 112.8 kB / 402.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.1188, allocations: 0 / 402.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.119, allocations: 19.98 kB / 402.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.1191, allocations: 7.984 kB / 402.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1191, allocations: 11.92 kB / 402.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.1193, allocations: 209.9 kB / 402.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1193, allocations: 0 / 402.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.1197, allocations: 72 kB / 402.9 MB, free: 8.406 MB / 302.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.0009386/0.1207, allocations: 420.7 kB / 403.3 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005394/0.1212, allocations: 155.9 kB / 403.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1212, allocations: 0 / 403.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.1214, allocations: 71.89 kB / 403.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.122, allocations: 60.92 kB / 403.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.1227, allocations: 399.4 kB / 404 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.123, allocations: 0.7398 MB / 404.7 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.1232, allocations: 37.88 kB / 404.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.1232, allocations: 23.42 kB / 404.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1232, allocations: 0 / 404.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of Templates: time 0.007589/0.1308, allocations: 3.811 MB / 408.6 MB, free: 2.77 MB / 302.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)