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.001327/0.001332, allocations: 110.4 kB / 16.42 MB, free: 6.504 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.00131/0.00131, allocations: 187.9 kB / 17.34 MB, free: 5.738 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.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05581/0.05581, allocations: 11.84 MB / 282.4 MB, free: 212 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.001555/0.001555, allocations: 73 kB / 393 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08344, allocations: 49.23 MB / 442.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003254/0.08674, allocations: 2.411 MB / 444.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.08983, allocations: 2.119 MB / 446.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.09002, allocations: 4 kB / 446.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.09038, allocations: 83.45 kB / 446.9 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.0003478/0.09074, allocations: 119.2 kB / 447 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.09164, allocations: 410.2 kB / 447.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.09196, allocations: 250.8 kB / 447.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.09211, allocations: 48.36 kB / 447.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.09228, allocations: 99.56 kB / 447.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.09244, allocations: 103.5 kB / 447.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.09248, allocations: 12 kB / 447.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.09285, allocations: 203.8 kB / 448.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.09295, allocations: 43.84 kB / 448.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.09308, allocations: 103.3 kB / 448.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.09362, allocations: 355 kB / 448.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.09363, allocations: 4 kB / 448.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09364, allocations: 0 / 448.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.09366, allocations: 3.938 kB / 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.0008429/0.0945, allocations: 0.5561 MB / 449.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.09456, allocations: 11.89 kB / 449.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.09463, allocations: 24.66 kB / 449.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.09503, allocations: 250.8 kB / 449.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.09506, allocations: 15.94 kB / 449.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.09509, allocations: 12 kB / 449.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.0955, allocations: 149.6 kB / 449.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.09552, allocations: 4 kB / 449.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.09555, allocations: 4 kB / 449.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.09556, allocations: 4 kB / 449.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.09593, allocations: 151.8 kB / 449.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.09705, allocations: 0.8017 MB / 450.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.09731, allocations: 102.5 kB / 450.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.09746, allocations: 60.97 kB / 450.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.839e-05/0.09756, allocations: 85.09 kB / 450.8 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.0976, allocations: 34.55 kB / 450.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.09761, allocations: 0 / 450.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.09905, allocations: 396.6 kB / 451.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.09909, allocations: 55.34 kB / 451.3 MB, free: 8.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.09937, allocations: 286.7 kB / 451.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.0994, allocations: 29.7 kB / 451.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.0995, allocations: 151.7 kB / 451.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.09954, allocations: 39.39 kB / 451.8 MB, free: 8.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.09961, allocations: 33.7 kB / 451.8 MB, free: 8.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.09974, allocations: 338.8 kB / 452.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.09994, allocations: 60.45 kB / 452.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1002, allocations: 92.25 kB / 452.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.1006, allocations: 168.1 kB / 452.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1006, allocations: 0 / 452.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005317/0.1011, allocations: 217.2 kB / 452.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1011, allocations: 5.562 kB / 452.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1012, allocations: 7.938 kB / 452.7 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1012, allocations: 0 / 452.7 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1014, allocations: 35.97 kB / 452.7 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1014, allocations: 4 kB / 452.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1016, allocations: 19.97 kB / 452.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1016, allocations: 7.938 kB / 452.7 MB, free: 7.219 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.0001365/0.1017, allocations: 145.7 kB / 452.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.1018, allocations: 15.81 kB / 452.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005639/0.1024, allocations: 199.3 kB / 453.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1024, allocations: 7.922 kB / 453.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1024, allocations: 4 kB / 453.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.1025, allocations: 104.9 kB / 453.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1025, allocations: 3.938 kB / 453.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.1027, allocations: 23.97 kB / 453.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.1028, allocations: 11.92 kB / 453.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005408/0.1033, allocations: 252.8 kB / 453.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005132/0.1038, allocations: 354.3 kB / 453.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002073/0.1041, allocations: 71.94 kB / 453.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.1043, allocations: 206 kB / 454.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of Backend: time 3.81e-07/0.1043, allocations: 0 / 454.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.106, allocations: 0.5313 MB / 454.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of SimCode: time 0.000992/0.107, allocations: 0.838 MB / 455.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of Templates: time 0.009323/0.1163, allocations: 4.339 MB / 459.8 MB, free: 180 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)