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.001156/0.001155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00144/0.001441, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.449/1.449, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05374/0.05374, allocations: 11.83 MB / 281.3 MB, free: 9.613 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.002662/0.002662, allocations: 71.56 kB / 341.3 MB, free: 22.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1057, allocations: 49.23 MB / 390.5 MB, free: 5.051 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.004364/0.1101, allocations: 2.724 MB / 393.3 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.1133, allocations: 2.147 MB / 395.4 MB, free: 152 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.1136, allocations: 4 kB / 395.4 MB, free: 148 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.114, allocations: 63.72 kB / 395.5 MB, free: 84 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.1144, allocations: 115.3 kB / 395.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1155, allocations: 358.7 kB / 395.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.1159, allocations: 254.8 kB / 396.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1161, allocations: 36.39 kB / 396.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.1163, allocations: 99.56 kB / 396.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.1165, allocations: 107.5 kB / 396.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.1165, allocations: 12 kB / 396.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000444/0.117, allocations: 203.8 kB / 396.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.1171, allocations: 47.78 kB / 396.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1172, allocations: 99.41 kB / 396.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.1179, allocations: 351 kB / 397.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1179, allocations: 0 / 397.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1179, allocations: 0 / 397.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1179, allocations: 0 / 397.1 MB, free: 14.43 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.0009683/0.1189, allocations: 0.5491 MB / 397.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1189, allocations: 15.83 kB / 397.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.119, allocations: 28.66 kB / 397.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1193, allocations: 254.8 kB / 398 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1194, allocations: 11.94 kB / 398 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1194, allocations: 12 kB / 398 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.1198, allocations: 161.5 kB / 398.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1198, allocations: 4 kB / 398.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1198, allocations: 4 kB / 398.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1198, allocations: 7.938 kB / 398.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.1202, allocations: 147.9 kB / 398.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1213, allocations: 0.794 MB / 399.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1216, allocations: 102.5 kB / 399.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.1217, allocations: 52.95 kB / 399.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.846e-05/0.1219, allocations: 97.08 kB / 399.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1219, allocations: 34.56 kB / 399.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1219, allocations: 0 / 399.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001511/0.1234, allocations: 404.5 kB / 399.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1235, allocations: 51.41 kB / 399.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1238, allocations: 278.7 kB / 400.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.1238, allocations: 29.7 kB / 400.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.1239, allocations: 151.8 kB / 400.3 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.124, allocations: 35.45 kB / 400.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.124, allocations: 33.7 kB / 400.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1242, allocations: 334.8 kB / 400.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.1244, allocations: 59.95 kB / 400.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.1246, allocations: 104.2 kB / 400.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.125, allocations: 164.7 kB / 401 MB, free: 10.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.125, allocations: 0 / 401 MB, free: 10.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004894/0.1255, allocations: 205.2 kB / 401.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1255, allocations: 4 kB / 401.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.1255, allocations: 8.125 kB / 401.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1256, allocations: 0 / 401.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.1258, allocations: 55.83 kB / 401.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1258, allocations: 0 / 401.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.126, allocations: 15.92 kB / 401.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.126, allocations: 12 kB / 401.3 MB, free: 9.938 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.0001388/0.1262, allocations: 134.7 kB / 401.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.1263, allocations: 23.72 kB / 401.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/0.1268, allocations: 192.9 kB / 401.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1268, allocations: 4 kB / 401.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1268, allocations: 3.938 kB / 401.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1268, allocations: 7.938 kB / 401.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.1276, allocations: 0.496 MB / 402.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1276, allocations: 7.938 kB / 402.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1278, allocations: 24.05 kB / 402.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1278, allocations: 8 kB / 402.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1278, allocations: 7.922 kB / 402.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1278, allocations: 0 / 402.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1278, allocations: 4 kB / 402.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.1283, allocations: 264.9 kB / 402.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-05/0.1284, allocations: 108.8 kB / 402.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.1284, allocations: 7.938 kB / 402.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1286, allocations: 15.97 kB / 402.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1286, allocations: 8 kB / 402.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1286, allocations: 0 / 402.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.1289, allocations: 221.9 kB / 402.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1289, allocations: 0 / 402.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000376/0.1293, allocations: 88.11 kB / 402.9 MB, free: 8.207 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0009016/0.1302, allocations: 418.9 kB / 403.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.1306, allocations: 131.8 kB / 403.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1306, allocations: 0 / 403.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.1308, allocations: 68.14 kB / 403.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.1314, allocations: 56.98 kB / 403.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.1321, allocations: 469.4 kB / 404 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1324, allocations: 0.7474 MB / 404.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.1326, allocations: 33.89 kB / 404.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.1326, allocations: 19.44 kB / 404.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1326, allocations: 0 / 404.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of Templates: time 0.007551/0.1402, allocations: 3.722 MB / 408.5 MB, free: 2.625 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)