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.001153/0.001158, allocations: 108.5 kB / 16.41 MB, free: 6.465 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.001049/0.001049, allocations: 192.3 kB / 17.35 MB, free: 5.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.273/1.273, 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.05584/0.05584, allocations: 11.84 MB / 282.4 MB, free: 220 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.001556/0.001556, allocations: 69.33 kB / 393 MB, free: 45.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06559/0.06715, allocations: 49.23 MB / 442.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002872/0.07005, allocations: 2.408 MB / 444.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.07283, allocations: 2.127 MB / 446.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.07298, allocations: 0 / 446.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.07331, allocations: 83.45 kB / 446.9 MB, free: 13.43 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.0003105/0.07363, allocations: 115.2 kB / 447 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.07448, allocations: 414.5 kB / 447.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.07478, allocations: 254.8 kB / 447.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.07491, allocations: 48.36 kB / 447.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.07508, allocations: 95.56 kB / 447.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.07524, allocations: 103.5 kB / 447.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.07528, allocations: 12 kB / 447.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.07563, allocations: 199.8 kB / 448.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.07572, allocations: 47.83 kB / 448.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.07583, allocations: 99.36 kB / 448.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.07631, allocations: 358.6 kB / 448.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.07633, allocations: 4 kB / 448.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.07634, allocations: 0 / 448.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.07635, 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.0007578/0.07711, allocations: 0.5602 MB / 449.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.07715, allocations: 11.89 kB / 449.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.07721, allocations: 24.8 kB / 449.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.07754, allocations: 266.9 kB / 449.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.07757, allocations: 15.94 kB / 449.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.0776, allocations: 12 kB / 449.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.07793, allocations: 145.6 kB / 449.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.07796, allocations: 7.938 kB / 449.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.07798, allocations: 4 kB / 449.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.07799, allocations: 4 kB / 449.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.07836, allocations: 151.9 kB / 449.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.07941, allocations: 0.7941 MB / 450.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.07967, allocations: 106.6 kB / 450.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.07983, allocations: 60.83 kB / 450.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.73e-05/0.07993, allocations: 81.11 kB / 450.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.07996, allocations: 34.5 kB / 450.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.07997, allocations: 0 / 450.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001485/0.08146, allocations: 404.9 kB / 451.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.0815, allocations: 55.34 kB / 451.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.08179, allocations: 294.6 kB / 451.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.08183, allocations: 33.64 kB / 451.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.08193, allocations: 147.9 kB / 451.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.08196, allocations: 35.69 kB / 451.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.08204, allocations: 33.67 kB / 451.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.08217, allocations: 334.8 kB / 452.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.08238, allocations: 59.95 kB / 452.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.08261, allocations: 99.05 kB / 452.3 MB, free: 7.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.08303, allocations: 164.1 kB / 452.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.08304, allocations: 0 / 452.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005157/0.08356, allocations: 217.4 kB / 452.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.08358, allocations: 6.812 kB / 452.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.08359, allocations: 4 kB / 452.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.08361, allocations: 0 / 452.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.08386, allocations: 35.97 kB / 452.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.08388, allocations: 7.938 kB / 452.7 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.08404, allocations: 11.98 kB / 452.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.08406, allocations: 11.94 kB / 452.7 MB, free: 7.207 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.000118/0.08419, allocations: 149.7 kB / 452.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.08424, allocations: 19.86 kB / 452.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.0848, allocations: 199.2 kB / 453.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.08482, allocations: 4.562 kB / 453.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.08483, allocations: 4 kB / 453.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.08493, allocations: 112.9 kB / 453.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.08498, allocations: 3.938 kB / 453.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.08517, allocations: 15.98 kB / 453.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.08523, allocations: 11.98 kB / 453.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005704/0.08581, allocations: 260.7 kB / 453.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005342/0.08635, allocations: 358.8 kB / 453.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001997/0.08656, allocations: 72 kB / 453.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.08677, allocations: 209.9 kB / 454.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.08678, allocations: 0 / 454.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.08836, allocations: 0.5235 MB / 454.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008784/0.08925, allocations: 0.8493 MB / 455.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of Templates: time 0.007717/0.09698, allocations: 4.266 MB / 459.8 MB, free: 220 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)